ZNR :: Jace, Mirror Mage (SetLoyalty param)

This commit is contained in:
Tim Mocny
2020-08-28 04:29:20 +00:00
committed by Michael Kamensky
parent c8204f2f34
commit c981b02f24
2 changed files with 17 additions and 0 deletions

View File

@@ -679,6 +679,9 @@ public class CardFactory {
if (sa.hasParam("SetToughness")) { if (sa.hasParam("SetToughness")) {
state.setBaseToughness(Integer.parseInt(sa.getParam("SetToughness"))); state.setBaseToughness(Integer.parseInt(sa.getParam("SetToughness")));
} }
if (sa.hasParam("SetLoyalty")) {
state.setBaseLoyalty(String.valueOf(sa.getParam("SetLoyalty")));
}
// triggers to add to clone // triggers to add to clone

View File

@@ -0,0 +1,14 @@
Name:Jace, Mirror Mage
ManaCost:1 U U
Types:Legendary Planeswalker Jace
Loyalty:4
K:Kicker:2
T:Mode$ ChangesZone | ValidCard$ Card.Self+kicked | Origin$ Any | Destination$ Battlefield | Execute$ TrigCopy | TriggerDescription$ When CARDNAME enters the battlefield, if it was kicked, create a token that's a copy of CARDNAME, except it's not legendary and its starting loyalty is 1.
SVar:TrigCopy:DB$ CopyPermanent | Defined$ Self | NonLegendary$ True | SetLoyalty$ 1
A:AB$ Scry | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ScryNum$ 1 | SpellDescription$ Scry 1.
A:AB$ Draw | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | NumCards$ 1 | Reveal$ True | RememberDrawn$ True | SubAbility$ DBRemoveCounters | SpellDescription$ Draw a card and reveal it. Remove a number of loyalty counters equal to that card's converted mana cost from CARDNAME.
SVar:DBRemoveCounters:DB$ RemoveCounter | Defined$ Self | CounterType$ LOYALTY | CounterNum$ X | References$ X | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Remembered$CardManaCost
DeckHas:Ability$Token
Oracle:Kicker {2}\nWhen Jace, Mirror Mage enters the battlefield, if Jace was kicked, create a token that's a copy of Jace, Mirror Mage, except it's not legendary and its starting loyalty is 1.\n[+1]: Scry 1.\n[0]: Draw a card and reveal it. Remove a number of loyalty counters equal to that card's converted mana cost from Jace, Mirror Mage.