- Generalized the logic that is currently used for Goblin Dark-Dwellers to determine WithoutManaCost from the SA itself.

This commit is contained in:
Agetian
2017-06-17 10:15:57 +00:00
parent 0cb9dab01d
commit 662be6b56e
2 changed files with 3 additions and 3 deletions

View File

@@ -53,8 +53,8 @@ public class PlayAi extends SpellAbilityAi {
}
}
if ("PlayWithNoManaCost".equals(sa.getParam("AILogic"))) {
return ComputerUtil.targetPlayableSpellCard(ai, cards, sa, true);
if ("ReplaySpell".equals(sa.getParam("AILogic"))) {
return ComputerUtil.targetPlayableSpellCard(ai, cards, sa, sa.hasParam("WithoutManaCost"));
}
return true;