- The AI will no longer try to activate Helm of Kaldra all the time.

This commit is contained in:
Sloth
2013-05-05 21:16:06 +00:00
parent fea6ac738a
commit 5f63ab30be
3 changed files with 9 additions and 1 deletions

View File

@@ -83,6 +83,8 @@ public class AnimateAi extends SpellAbilityAi {
} else {
bFlag = true;
}
} if ("Never".equals(sa.getParam("AILogic"))) {
return false;
}
} else for (final Card c : defined) {
bFlag |= !c.isCreature() && !c.isTapped()

View File

@@ -74,6 +74,12 @@ public class TokenAi extends SpellAbilityAi {
return false;
}
if (sa.hasParam("AILogic")) {
if ("Never".equals(sa.getParam("AILogic"))) {
return false;
}
}
Player opp = ai.getOpponent();
for (final String type : this.tokenTypes) {
if (type.equals("Legendary")) {