mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- RepeatEach AI should obey AILogic$ Never (e.g. Watchers of the Dead)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user