- RepeatEach AI should obey AILogic$ Never (e.g. Watchers of the Dead)

This commit is contained in:
Agetian
2017-05-09 08:46:49 +00:00
parent 9638f94815
commit 71ab7ef4ff

View File

@@ -26,7 +26,9 @@ public class RepeatEachAi extends SpellAbilityAi {
protected boolean canPlayAI(Player aiPlayer, SpellAbility sa) {
String logic = sa.getParam("AILogic");
if ("CloneMyTokens".equals(logic)) {
if ("Never".equals(logic)) {
return false;
} else if ("CloneMyTokens".equals(logic)) {
if (CardLists.filter(aiPlayer.getCreaturesInPlay(), Presets.TOKEN).size() < 2) {
return false;
}