mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
ZNR :: Jace, Mirror Mage (SetLoyalty param)
This commit is contained in:
committed by
Michael Kamensky
parent
c8204f2f34
commit
c981b02f24
@@ -679,6 +679,9 @@ public class CardFactory {
|
||||
if (sa.hasParam("SetToughness")) {
|
||||
state.setBaseToughness(Integer.parseInt(sa.getParam("SetToughness")));
|
||||
}
|
||||
if (sa.hasParam("SetLoyalty")) {
|
||||
state.setBaseLoyalty(String.valueOf(sa.getParam("SetLoyalty")));
|
||||
}
|
||||
|
||||
|
||||
// triggers to add to clone
|
||||
|
||||
14
forge-gui/res/cardsfolder/upcoming/ZNR/jace_mirror_mage.txt
Normal file
14
forge-gui/res/cardsfolder/upcoming/ZNR/jace_mirror_mage.txt
Normal 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.
|
||||
Reference in New Issue
Block a user