- RemAIDeck update: next iteration.

This commit is contained in:
Agetian
2017-10-07 14:50:51 +00:00
parent 6e518df398
commit 1cbf075036
6 changed files with 9 additions and 11 deletions

View File

@@ -842,6 +842,9 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
public SpellAbility copyWithNoManaCost() {
final SpellAbility newSA = copy();
if (newSA == null) {
return null; // the ability was not copyable, e.g. a Suspend SA may get here
}
newSA.setPayCosts(newSA.getPayCosts().copyWithNoMana());
if (!newSA.hasParam("WithoutManaCost")) {
newSA.mapParams.put("WithoutManaCost", "True");