mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- The AI will no longer try to activate Helm of Kaldra all the time.
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user