mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
GameActionUtil: remove "May be played without paying its mana cost"
This commit is contained in:
@@ -219,17 +219,6 @@ public final class GameActionUtil {
|
|||||||
}
|
}
|
||||||
alternatives.add(flashback);
|
alternatives.add(flashback);
|
||||||
}
|
}
|
||||||
if (sa.isSpell() && keyword.equals("May be played without paying its mana cost")) {
|
|
||||||
final SpellAbility newSA = sa.copy();
|
|
||||||
SpellAbilityRestriction sar = new SpellAbilityRestriction();
|
|
||||||
sar.setVariables(sa.getRestrictions());
|
|
||||||
sar.setZone(null);
|
|
||||||
newSA.setRestrictions(sar);
|
|
||||||
newSA.setBasicSpell(false);
|
|
||||||
newSA.setPayCosts(newSA.getPayCosts().copyWithNoMana());
|
|
||||||
newSA.setDescription(sa.getDescription() + " (without paying its mana cost)");
|
|
||||||
alternatives.add(newSA);
|
|
||||||
}
|
|
||||||
if (sa.isSpell() && keyword.startsWith("Alternative Cost")) {
|
if (sa.isSpell() && keyword.startsWith("Alternative Cost")) {
|
||||||
final SpellAbility newSA = sa.copy();
|
final SpellAbility newSA = sa.copy();
|
||||||
newSA.setBasicSpell(false);
|
newSA.setBasicSpell(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user