- RemAIDeck update: next iteration (the rest of letter K).

This commit is contained in:
Agetian
2017-10-07 14:21:11 +00:00
parent 8e1af41938
commit 6e518df398
6 changed files with 15 additions and 12 deletions

View File

@@ -37,7 +37,11 @@ public class ChangeZoneAllAi extends SpellAbilityAi {
}
if (!ComputerUtilCost.checkDiscardCost(ai, abCost, source)) {
return false;
boolean aiLogicAllowsDiscard = sa.hasParam("AILogic") && sa.getParam("AILogic").startsWith("DiscardAll");
if (!aiLogicAllowsDiscard) {
return false;
}
}
}