From 62ef84ea073adf24fb67a3ebe232d53efce06f1f Mon Sep 17 00:00:00 2001 From: Adam Pantel <> Date: Sat, 17 Apr 2021 13:58:20 -0400 Subject: [PATCH] Add TriggerZones --- forge-gui/res/cardsfolder/h/hero_of_bretagard.txt | 2 +- forge-gui/res/cardsfolder/l/laelia_the_blade_reforged.txt | 2 +- forge-gui/res/cardsfolder/r/ranar_the_ever_watchful.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/forge-gui/res/cardsfolder/h/hero_of_bretagard.txt b/forge-gui/res/cardsfolder/h/hero_of_bretagard.txt index 81ac73d1000..4bbce25b1b3 100644 --- a/forge-gui/res/cardsfolder/h/hero_of_bretagard.txt +++ b/forge-gui/res/cardsfolder/h/hero_of_bretagard.txt @@ -2,7 +2,7 @@ Name:Hero of Bretagard ManaCost:2 W Types:Creature Human Warrior PT:1/1 -T:Mode$ ChangesZoneAll | ValidCause$ SpellAbility.YouCtrl | Origin$ Hand,Battlefield | Destination$ Exile | ValidCards$ Card.YouOwn,Card.inZoneBattlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a spell or ability you control exiles one or more cards from your hand and/or permanents from the battlefield, put that many +1/+1 counters on CARDNAME. +T:Mode$ ChangesZoneAll | ValidCause$ SpellAbility.YouCtrl | Origin$ Hand,Battlefield | Destination$ Exile | ValidCards$ Card.YouOwn,Card.inZoneBattlefield | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a spell or ability you control exiles one or more cards from your hand and/or permanents from the battlefield, put that many +1/+1 counters on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X S:Mode$ Continuous | Affected$ Card.Self | CheckSVar$ Y | SVarCompare$ GT4 | AddKeyword$ Flying | AddType$ Angel | Description$ As long as CARDNAME has five or more counters on it, it has flying and is an Angel in addition to its other types. S:Mode$ Continuous | Affected$ Card.Self | CheckSVar$ Y | SVarCompare$ GT9 | AddKeyword$ Indestructible | AddType$ Angel & God | Description$ As long as CARDNAME has ten or more counters on it, it indestructible and is a God in addition to its other types. diff --git a/forge-gui/res/cardsfolder/l/laelia_the_blade_reforged.txt b/forge-gui/res/cardsfolder/l/laelia_the_blade_reforged.txt index 3c501cb3973..f86a1fab0fe 100644 --- a/forge-gui/res/cardsfolder/l/laelia_the_blade_reforged.txt +++ b/forge-gui/res/cardsfolder/l/laelia_the_blade_reforged.txt @@ -8,6 +8,6 @@ SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | Destination SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | ForgetOnMoved$ Exile | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play this card this turn. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -T:Mode$ ChangesZoneAll | ValidCause$ SpellAbility.YouCtrl | Origin$ Library,Graveyard | Destination$ Exile | ValidCards$ Card.YouOwn | Execute$ TrigPutCounter | TriggerDescription$ Whenever you exile one or more cards from your library and/or your graveyard, put a +1/+1 counter on NICKNAME. +T:Mode$ ChangesZoneAll | ValidCause$ SpellAbility.YouCtrl | Origin$ Library,Graveyard | Destination$ Exile | ValidCards$ Card.YouOwn | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you exile one or more cards from your library and/or your graveyard, put a +1/+1 counter on NICKNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 Oracle:Haste\nWhenever Laelia, the Blade Reforged attacks, exile the top card of your library. You may play that card this turn.\nWhenever you exile one or more cards from your library and/or your graveyard, put a +1/+1 counter on Laelia. diff --git a/forge-gui/res/cardsfolder/r/ranar_the_ever_watchful.txt b/forge-gui/res/cardsfolder/r/ranar_the_ever_watchful.txt index 4882369c149..23cfd47c079 100644 --- a/forge-gui/res/cardsfolder/r/ranar_the_ever_watchful.txt +++ b/forge-gui/res/cardsfolder/r/ranar_the_ever_watchful.txt @@ -5,7 +5,7 @@ PT:2/3 K:Flying K:Vigilance S:Mode$ ReduceCost | ValidCard$ Card | Type$ Foretell | Amount$ 2 | FirstForetell$ True | Activator$ You | Description$ The first card you foretell each turn costs {0} to foretell. -T:Mode$ ChangesZoneAll | ValidCause$ SpellAbility.YouCtrl | Origin$ Hand,Battlefield | Destination$ Exile | ValidCards$ Card.YouOwn,Card.inZoneBattlefield | Execute$ TrigToken | TriggerDescription$ Whenever a spell or ability you control exiles one or more cards from your hand and/or permanents from the battlefield, create a 1/1 white Spirit creature token with flying. +T:Mode$ ChangesZoneAll | ValidCause$ SpellAbility.YouCtrl | Origin$ Hand,Battlefield | Destination$ Exile | ValidCards$ Card.YouOwn,Card.inZoneBattlefield | Execute$ TrigToken | TriggerZones$ Battlefield | TriggerDescription$ Whenever a spell or ability you control exiles one or more cards from your hand and/or permanents from the battlefield, create a 1/1 white Spirit creature token with flying. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ w_1_1_spirit_flying | TokenOwner$ You DeckHas:Ability$Token Oracle:Flying, vigilance\nThe first card you foretell each turn costs {0} to foretell.\nWhenever a spell or ability you control exiles one or more cards from your hand and/or permanents from the battlefield, create a 1/1 white Spirit creature token with flying.