Fixed Goblin War Paint manacost, fixed Archon of Justice AI issue.

This commit is contained in:
jendave
2011-08-06 02:47:50 +00:00
parent 0ab479e3b3
commit 9a90fa9ce3
2 changed files with 12 additions and 4 deletions

View File

@@ -811,7 +811,7 @@ Enchanted creature gets +2/+2.
Enchant creature
Goblin War Paint
2 R
1 R
Enchantment Aura
Enchanted creature gets +2/+2 and has haste.
Enchant creature

View File

@@ -11407,12 +11407,20 @@ 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
Card temp;
CardList human_list = new CardList(AllZone.Human_Play.getCards());
temp = CardFactoryUtil.AI_getBestCreature(human_list);
if (temp != null)
ability.setTargetCard(CardFactoryUtil.AI_getBestCreature(human_list));
if(ability.getTargetCard() == null){
temp = CardFactoryUtil.AI_getBestEnchantment(human_list, card ,false);
if (temp != null)
ability.setTargetCard(CardFactoryUtil.AI_getBestEnchantment(human_list, card, true));
}
if(ability.getTargetCard() == null){
temp = CardFactoryUtil.AI_getBestArtifact(human_list);
if (temp != null)
ability.setTargetCard(CardFactoryUtil.AI_getBestArtifact(human_list));
}
if(ability.getTargetCard() == null){