diff --git a/forge-gui/res/cardsfolder/a/arashin_war_beast.txt b/forge-gui/res/cardsfolder/a/arashin_war_beast.txt index b21bdb10..bbc1ddc0 100644 --- a/forge-gui/res/cardsfolder/a/arashin_war_beast.txt +++ b/forge-gui/res/cardsfolder/a/arashin_war_beast.txt @@ -2,7 +2,7 @@ Name:Arashin War Beast ManaCost:5 G G Types:Creature Beast PT:6/6 -T:Mode$ DealtCombatDamageOnce | ValidSource$ Card.Self | ValidTarget$ Creature.blocking | TriggerZones$ Battlefield | Execute$ TrigManifest | TriggerDescription$ Whenever CARDNAME deals combat damage to one or more blocking creatures, manifest the top card of your library. (Put it onto the battlefield face down as a 2/2 creature. Turn it face up any time for its mana cost if it's a creature card.) +T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Card.Self | ValidTarget$ Creature.blocking | TriggerZones$ Battlefield | Execute$ TrigManifest | TriggerDescription$ Whenever CARDNAME deals combat damage to one or more blocking creatures, manifest the top card of your library. (Put it onto the battlefield face down as a 2/2 creature. Turn it face up any time for its mana cost if it's a creature card.) SVar:TrigManifest:AB$ Manifest | Cost$ 0 | Amount$ 1 | Defined$ TopOfLibrary SVar:HasAttackEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/arashin_war_beast.jpg diff --git a/forge-gui/res/cardsfolder/b/banshees_blade.txt b/forge-gui/res/cardsfolder/b/banshees_blade.txt index 32226e64..df415e21 100644 --- a/forge-gui/res/cardsfolder/b/banshees_blade.txt +++ b/forge-gui/res/cardsfolder/b/banshees_blade.txt @@ -3,7 +3,7 @@ ManaCost:2 Types:Artifact Equipment K:Equip 2 S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Equipped creature gets +1/+1 for each charge counter on CARDNAME. -T:Mode$ DealtCombatDamageOnce | ValidSource$ Creature.EquippedBy | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever equipped creature deals combat damage, put a charge counter on CARDNAME. +T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Creature.EquippedBy | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever equipped creature deals combat damage, put a charge counter on CARDNAME. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | CounterType$ CHARGE | CounterNum$ 1 SVar:X:Count$CardCounters.CHARGE SVar:Picture:http://www.wizards.com/global/images/magic/general/banshees_blade.jpg diff --git a/forge-gui/res/cardsfolder/b/briarbridge_patrol.txt b/forge-gui/res/cardsfolder/b/briarbridge_patrol.txt index aa2e914a..0ab04907 100644 --- a/forge-gui/res/cardsfolder/b/briarbridge_patrol.txt +++ b/forge-gui/res/cardsfolder/b/briarbridge_patrol.txt @@ -5,7 +5,7 @@ PT:3/3 # Two pronged handling of investigation portion T:Mode$ DamageDone | ValidSource$ Card.Self | CombatDamage$ False | ValidTarget$ Creature | TriggerZones$ Battlefield | OncePerEffect$ True | Execute$ TrigToken | TriggerDescription$ Whenever Briarbridge Patrol deals damage to one or more creatures, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") -T:Mode$ DealtCombatDamageOnce | ValidSource$ Card.Self | ValidTarget$ Creature | Execute$ TrigToken | Secondary$ True | TriggerDescription$ Whenever Briarbridge Patrol deals damage to one or more creatures, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") +T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Card.Self | ValidTarget$ Creature | Execute$ TrigToken | Secondary$ True | TriggerDescription$ Whenever Briarbridge Patrol deals damage to one or more creatures, investigate. (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenName$ Clue | TokenTypes$ Artifact,Clue | TokenOwner$ You | TokenColors$ Colorless | TokenImage$ c clue | TokenAltImages$ c_clue2,c_clue3,c_clue4,c_clue5,c_clue6 | TokenAbilities$ ABDraw SVar:ABDraw:AB$ Draw | Cost$ 2 Sac<1/CARDNAME> | NumCards$ 1 | SpellDescription$ Draw a card. diff --git a/forge-gui/res/cardsfolder/d/descendant_of_kiyomaro.txt b/forge-gui/res/cardsfolder/d/descendant_of_kiyomaro.txt index f22b21c6..9a284ed6 100644 --- a/forge-gui/res/cardsfolder/d/descendant_of_kiyomaro.txt +++ b/forge-gui/res/cardsfolder/d/descendant_of_kiyomaro.txt @@ -3,7 +3,7 @@ ManaCost:1 W W Types:Creature Human Soldier PT:2/3 S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 2 | AddTrigger$ TriggerGainLife | AddSVar$ KiyomaroGainLife | CheckSVar$ X | SVarCompare$ GTY | Description$ As long as you have more cards in hand than each opponent, CARDNAME gets +1/+2 and has "Whenever this creature deals combat damage, you gain 3 life." -SVar:TriggerGainLife:Mode$ DealtCombatDamageOnce | ValidSource$ Card.Self | Execute$ KiyomaroGainLife | TriggerDescription$ Whenever this creature deals combat damage, you gain 3 life. +SVar:TriggerGainLife:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Card.Self | Execute$ KiyomaroGainLife | TriggerDescription$ Whenever this creature deals combat damage, you gain 3 life. SVar:KiyomaroGainLife:AB$ GainLife | Cost$ 0 | LifeAmount$ 3 SVar:X:Count$InYourHand SVar:Y:PlayerCountOpponents$HighestCardsInHand diff --git a/forge-gui/res/cardsfolder/d/drinker_of_sorrow.txt b/forge-gui/res/cardsfolder/d/drinker_of_sorrow.txt index da720143..80182a15 100644 --- a/forge-gui/res/cardsfolder/d/drinker_of_sorrow.txt +++ b/forge-gui/res/cardsfolder/d/drinker_of_sorrow.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Creature Horror PT:5/3 K:CARDNAME can't block. -T:Mode$ DealtCombatDamageOnce | ValidSource$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME deals combat damage, sacrifice a permanent. +T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME deals combat damage, sacrifice a permanent. SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ You | SacValid$ Permanent SVar:Picture:http://www.wizards.com/global/images/magic/general/drinker_of_sorrow.jpg Oracle:Drinker of Sorrow can't block.\nWhenever Drinker of Sorrow deals combat damage, sacrifice a permanent. diff --git a/forge-gui/res/cardsfolder/f/five_alarm_fire.txt b/forge-gui/res/cardsfolder/f/five_alarm_fire.txt index 4e1ebedb..e9748dcd 100644 --- a/forge-gui/res/cardsfolder/f/five_alarm_fire.txt +++ b/forge-gui/res/cardsfolder/f/five_alarm_fire.txt @@ -1,7 +1,7 @@ Name:Five-Alarm Fire ManaCost:1 R R Types:Enchantment -T:Mode$ DealtCombatDamageOnce | ValidSource$ Creature.YouCtrl | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control deals combat damage, put a blaze counter on CARDNAME. +T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Creature.YouCtrl | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control deals combat damage, put a blaze counter on CARDNAME. SVar:TrigPutCounter:AB$ PutCounter | Cost$ 0 | CounterType$ BLAZE | CounterNum$ 1 A:AB$ DealDamage | Cost$ SubCounter<5/BLAZE> | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 5 | SpellDescription$ CARDNAME deals 5 damage to target creature or player. SVar:Picture:http://www.wizards.com/global/images/magic/general/five-alarm_fire.jpg diff --git a/forge-gui/res/cardsfolder/l/leyline_phantom.txt b/forge-gui/res/cardsfolder/l/leyline_phantom.txt index f2cc94dc..f2b4dfe0 100644 --- a/forge-gui/res/cardsfolder/l/leyline_phantom.txt +++ b/forge-gui/res/cardsfolder/l/leyline_phantom.txt @@ -2,7 +2,7 @@ Name:Leyline Phantom ManaCost:4 U Types:Creature Illusion PT:5/5 -T:Mode$ DealtCombatDamageOnce | ValidSource$ Card.Self | Execute$ TrigBounce | TriggerDescription$ Whenever CARDNAME deals combat damage, return it to its owner's hand. +T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Card.Self | Execute$ TrigBounce | TriggerDescription$ Whenever CARDNAME deals combat damage, return it to its owner's hand. SVar:TrigBounce:AB$ ChangeZone | Cost$ 0 | Defined$ Self | Origin$ Battlefield | Destination$ Hand SVar:Picture:http://www.wizards.com/global/images/magic/general/leyline_phantom.jpg Oracle:When Leyline Phantom deals combat damage, return it to its owner's hand. (Return it only if it survived combat.) diff --git a/forge-gui/res/cardsfolder/l/living_lore.txt b/forge-gui/res/cardsfolder/l/living_lore.txt index b2a53b55..6f05b0d7 100644 --- a/forge-gui/res/cardsfolder/l/living_lore.txt +++ b/forge-gui/res/cardsfolder/l/living_lore.txt @@ -6,7 +6,7 @@ K:ETBReplacement:Copy:ChooseSpell SVar:ChooseSpell:DB$ ChangeZone | ChangeType$ Instant.YouOwn,Sorcery.YouOwn | ChangeNum$ 1 | Hidden$ True | Origin$ Graveyard | Destination$ Exile | RememberChanged$ True | Mandatory$ True | SpellDescription$ As CARDNAME enters the battlefield, exile an instant or sorcery card from your graveyard. S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the exiled card's converted mana cost. SVar:X:Count$RememberedCardManaCost -T:Mode$ DealtCombatDamageOnce | ValidSource$ Card.Self | Execute$ TrigSacLore | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage, you may sacrifice it. If you do, you may cast the exiled card without paying its mana cost. +T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Card.Self | Execute$ TrigSacLore | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage, you may sacrifice it. If you do, you may cast the exiled card without paying its mana cost. SVar:TrigSacLore:AB$ Play | Cost$ Sac<1/CARDNAME> | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ForgetRemembered$ True T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/n/noble_purpose.txt b/forge-gui/res/cardsfolder/n/noble_purpose.txt index e0dc25d8..3bf3a35d 100644 --- a/forge-gui/res/cardsfolder/n/noble_purpose.txt +++ b/forge-gui/res/cardsfolder/n/noble_purpose.txt @@ -1,7 +1,7 @@ Name:Noble Purpose ManaCost:3 W W Types:Enchantment -T:Mode$ DealtCombatDamageOnce | ValidSource$ Creature.YouCtrl | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control deals combat damage, you gain that much life. +T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Creature.YouCtrl | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control deals combat damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/noble_purpose.jpg diff --git a/forge-gui/res/cardsfolder/s/sunhome_enforcer.txt b/forge-gui/res/cardsfolder/s/sunhome_enforcer.txt index 24a1b51b..8f191fa2 100644 --- a/forge-gui/res/cardsfolder/s/sunhome_enforcer.txt +++ b/forge-gui/res/cardsfolder/s/sunhome_enforcer.txt @@ -2,7 +2,7 @@ Name:Sunhome Enforcer ManaCost:2 R W Types:Creature Giant Soldier PT:2/4 -T:Mode$ DealtCombatDamageOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage, you gain that much life. +T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount A:AB$ Pump | Cost$ 1 R | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn. diff --git a/forge-gui/res/cardsfolder/t/tamiyo_field_researcher.txt b/forge-gui/res/cardsfolder/t/tamiyo_field_researcher.txt index 9437c7cb..f206e350 100644 --- a/forge-gui/res/cardsfolder/t/tamiyo_field_researcher.txt +++ b/forge-gui/res/cardsfolder/t/tamiyo_field_researcher.txt @@ -3,7 +3,7 @@ ManaCost:1 W G U Types:Legendary Planeswalker Tamiyo Loyalty:4 A:AB$ Effect | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Select target creature | Triggers$ TrigDamage,TrigChange | Duration$ UntilYourNextTurn | SVars$ TrigForget,TrigDrawCard | References$ TrigForget,TrigDrawCard | RememberObjects$ Targeted | SpellDescription$ Choose up to two target creatures. Until your next turn, whenever either of those creatures deals combat damage, you draw a card. -SVar:TrigDamage:Mode$ DealtCombatDamageOnce | ValidSource$ Creature.IsRemembered | Execute$ TrigDrawCard | TriggerDescription$ Whenever a targeted creature of Tamiyo, Field Researcher deals combat damage, you draw a card. +SVar:TrigDamage:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Creature.IsRemembered | Execute$ TrigDrawCard | TriggerDescription$ Whenever a targeted creature of Tamiyo, Field Researcher deals combat damage, you draw a card. SVar:TrigDrawCard:DB$ Draw | NumCards$ 1 | Defined$ You SVar:TrigChange:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered | Execute$ TrigForget SVar:TrigForget:DB$ Pump | ForgetObjects$ TriggeredCard diff --git a/forge-gui/res/cardsfolder/u/umezawas_jitte.txt b/forge-gui/res/cardsfolder/u/umezawas_jitte.txt index 0d06e24d..8f07628e 100644 --- a/forge-gui/res/cardsfolder/u/umezawas_jitte.txt +++ b/forge-gui/res/cardsfolder/u/umezawas_jitte.txt @@ -2,7 +2,7 @@ Name:Umezawa's Jitte ManaCost:2 Types:Legendary Artifact Equipment K:Equip 2 -T:Mode$ DealtCombatDamageOnce | ValidSource$ Creature.EquippedBy | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever equipped creature deals combat damage, put two charge counters on CARDNAME. +T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Creature.EquippedBy | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever equipped creature deals combat damage, put two charge counters on CARDNAME. A:AB$ Charm | Cost$ SubCounter<1/CHARGE> | Choices$ JittePump,JitteCurse,JitteLife | Defined$ You SVar:JittePump:DB$ Pump | Defined$ Equipped | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ Equipped creature gets +2/+2 until end of turn. SVar:JitteCurse:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Target creature gets -1/-1 until end of turn. diff --git a/forge-gui/res/cardsfolder/v/vigorous_charge.txt b/forge-gui/res/cardsfolder/v/vigorous_charge.txt index 167782f8..dfdaf485 100644 --- a/forge-gui/res/cardsfolder/v/vigorous_charge.txt +++ b/forge-gui/res/cardsfolder/v/vigorous_charge.txt @@ -4,7 +4,7 @@ Types:Instant K:Kicker:W A:SP$ Pump | Cost$ G | ValidTgts$ Creature | KW$ Trample | SubAbility$ VigorousPumping | SpellDescription$ Target creature gains trample until end of turn. Whenever that creature deals combat damage this turn, if CARDNAME was kicked, you gain life equal to that damage. SVar:VigorousPumping:DB$ Effect | TgtPrompt$ Select target creature | Triggers$ TrigDamage,EndTrackingEffect | SVars$ VigorousLife,X,ExileEffect | RememberObjects$ Targeted | Condition$ Kicked | ConditionDescription$ If Vigorous Charge was kicked, -SVar:TrigDamage:Mode$ DealtCombatDamageOnce | ValidSource$ Creature.IsRemembered | Execute$ VigorousLife | TriggerDescription$ Whenever the targeted creature deals combat damage this turn, you gain life equal to that damage. +SVar:TrigDamage:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Creature.IsRemembered | Execute$ VigorousLife | TriggerDescription$ Whenever the targeted creature deals combat damage this turn, you gain life equal to that damage. SVar:VigorousLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:EndTrackingEffect:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ ExileEffect | Static$ True