mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
refactor: SimpleStaticAbility default zone (second line)
This commit is contained in:
parent
ca6d0302b7
commit
139ca1ebe1
14 changed files with 16 additions and 16 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue