mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fixed Goblin War Paint manacost, fixed Archon of Justice AI issue.
This commit is contained in:
@@ -811,7 +811,7 @@ Enchanted creature gets +2/+2.
|
|||||||
Enchant creature
|
Enchant creature
|
||||||
|
|
||||||
Goblin War Paint
|
Goblin War Paint
|
||||||
2 R
|
1 R
|
||||||
Enchantment Aura
|
Enchantment Aura
|
||||||
Enchanted creature gets +2/+2 and has haste.
|
Enchanted creature gets +2/+2 and has haste.
|
||||||
Enchant creature
|
Enchant creature
|
||||||
|
|||||||
@@ -11407,13 +11407,21 @@ public class CardFactory_Creatures {
|
|||||||
{
|
{
|
||||||
//if computer controlled Archon of Justice have it select the best creature, or enchantment, or artifact, whatever the human controllers, and as a last option a card it controls
|
//if computer controlled Archon of Justice have it select the best creature, or enchantment, or artifact, whatever the human controllers, and as a last option a card it controls
|
||||||
|
|
||||||
|
Card temp;
|
||||||
|
|
||||||
CardList human_list = new CardList(AllZone.Human_Play.getCards());
|
CardList human_list = new CardList(AllZone.Human_Play.getCards());
|
||||||
ability.setTargetCard(CardFactoryUtil.AI_getBestCreature(human_list));
|
temp = CardFactoryUtil.AI_getBestCreature(human_list);
|
||||||
|
if (temp != null)
|
||||||
|
ability.setTargetCard(CardFactoryUtil.AI_getBestCreature(human_list));
|
||||||
if(ability.getTargetCard() == null){
|
if(ability.getTargetCard() == null){
|
||||||
ability.setTargetCard(CardFactoryUtil.AI_getBestEnchantment(human_list, card, true));
|
temp = CardFactoryUtil.AI_getBestEnchantment(human_list, card ,false);
|
||||||
|
if (temp != null)
|
||||||
|
ability.setTargetCard(CardFactoryUtil.AI_getBestEnchantment(human_list, card, true));
|
||||||
}
|
}
|
||||||
if(ability.getTargetCard() == null){
|
if(ability.getTargetCard() == null){
|
||||||
ability.setTargetCard(CardFactoryUtil.AI_getBestArtifact(human_list));
|
temp = CardFactoryUtil.AI_getBestArtifact(human_list);
|
||||||
|
if (temp != null)
|
||||||
|
ability.setTargetCard(CardFactoryUtil.AI_getBestArtifact(human_list));
|
||||||
}
|
}
|
||||||
if(ability.getTargetCard() == null){
|
if(ability.getTargetCard() == null){
|
||||||
if(human_list.size() == 0){
|
if(human_list.size() == 0){
|
||||||
|
|||||||
Reference in New Issue
Block a user