mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Generalized the logic that is currently used for Goblin Dark-Dwellers to determine WithoutManaCost from the SA itself.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user