refactor: SimpleStaticAbility default zone (second line)

This commit is contained in:
xenohedron 2024-11-16 22:20:27 -05:00
parent ca6d0302b7
commit 139ca1ebe1
14 changed files with 16 additions and 16 deletions

View file

@ -27,7 +27,7 @@ public class PrototypeAbility extends SpellAbility {
this.setSpellAbilityCastMode(SpellAbilityCastMode.PROTOTYPE);
this.setTiming(TimingRule.SORCERY);
this.addSubAbility(new SimpleStaticAbility(
Zone.BATTLEFIELD, new PrototypeEffect(power, toughness, manaString)
new PrototypeEffect(power, toughness, manaString)
).setRuleVisible(false));
this.rule = "Prototype " + manaString + " — " + power + "/" + toughness +
" <i>(You may cast this spell with different mana cost, color, and size. It keeps its abilities and types.)</i>";
@ -116,4 +116,4 @@ class PrototypeEffect extends ContinuousEffectImpl {
permanent.getToughness().setModifiedBaseValue(toughness);
return true;
}
}
}