From 11a2809d95fddc4e9d57f3bdc6ba746d161911dd Mon Sep 17 00:00:00 2001 From: Agetian Date: Mon, 25 Sep 2017 06:41:13 +0000 Subject: [PATCH] - Convert DamageDone|OnlyOnce to the new trigger DamageDoneOnce. Remove code for DamageDone|OnlyOnce (no longer needed). git-svn-id: http://svn.slightlymagic.net/forge/trunk@35749 269b9781-a132-4a9b-9d4e-f004f1b56b58 --- .../forge/game/trigger/TriggerDamageDone.java | 84 ++++--------------- .../cardsfolder/a/angel_of_deliverance.txt | 2 +- .../res/cardsfolder/a/angelheart_vial.txt | 2 +- forge-gui/res/cardsfolder/a/arcbond.txt | 2 +- .../res/cardsfolder/a/armadillo_cloak.txt | 2 +- .../res/cardsfolder/b/bellowing_aegisaur.txt | 2 +- forge-gui/res/cardsfolder/b/binding_agony.txt | 2 +- .../res/cardsfolder/b/boros_reckoner.txt | 2 +- .../res/cardsfolder/b/broodhatch_nantuko.txt | 2 +- .../res/cardsfolder/c/coalhauler_swine.txt | 2 +- .../cardsfolder/d/darien_king_of_kjeldor.txt | 2 +- .../res/cardsfolder/d/death_pits_of_rath.txt | 2 +- .../res/cardsfolder/d/deep_slumber_titan.txt | 2 +- forge-gui/res/cardsfolder/d/doubtless_one.txt | 2 +- .../res/cardsfolder/d/dromad_purebred.txt | 2 +- forge-gui/res/cardsfolder/d/druids_call.txt | 2 +- forge-gui/res/cardsfolder/e/el_hajjaj.txt | 2 +- .../res/cardsfolder/e/emberwilde_caliph.txt | 2 +- .../res/cardsfolder/e/essence_sliver.txt | 2 +- forge-gui/res/cardsfolder/e/exalted_angel.txt | 2 +- forge-gui/res/cardsfolder/f/filthy_cur.txt | 2 +- .../res/cardsfolder/f/firedrinker_satyr.txt | 2 +- .../res/cardsfolder/f/flash_conscription.txt | 2 +- forge-gui/res/cardsfolder/f/frozen_solid.txt | 2 +- forge-gui/res/cardsfolder/f/fungus_sliver.txt | 2 +- forge-gui/res/cardsfolder/f/fungusaur.txt | 2 +- .../res/cardsfolder/g/genju_of_the_fields.txt | 2 +- forge-gui/res/cardsfolder/g/grollub.txt | 2 +- .../res/cardsfolder/g/guilty_conscience.txt | 2 +- .../cardsfolder/h/high_priest_of_penance.txt | 2 +- .../res/cardsfolder/h/horned_cheetah.txt | 2 +- forge-gui/res/cardsfolder/h/hornet_nest.txt | 2 +- forge-gui/res/cardsfolder/h/hot_soup.txt | 2 +- .../res/cardsfolder/i/illusory_ambusher.txt | 2 +- forge-gui/res/cardsfolder/j/jackal_pup.txt | 2 +- forge-gui/res/cardsfolder/j/jagged_poppet.txt | 4 +- forge-gui/res/cardsfolder/j/justice.txt | 2 +- .../k/kami_of_the_honored_dead.txt | 2 +- .../cardsfolder/k/kiyomaro_first_to_stand.txt | 2 +- .../res/cardsfolder/k/kjeldoran_gargoyle.txt | 2 +- forge-gui/res/cardsfolder/l/lich.txt | 2 +- .../res/cardsfolder/l/living_artifact.txt | 2 +- forge-gui/res/cardsfolder/m/mire_blight.txt | 2 +- forge-gui/res/cardsfolder/m/mogg_maniac.txt | 2 +- forge-gui/res/cardsfolder/m/mortal_wound.txt | 2 +- .../res/cardsfolder/m/mourning_thrull.txt | 2 +- forge-gui/res/cardsfolder/n/necravolver.txt | 2 +- .../res/cardsfolder/p/paladin_of_prahv.txt | 2 +- .../res/cardsfolder/p/phantom_nishoba.txt | 2 +- .../res/cardsfolder/p/phyrexian_negator.txt | 2 +- .../res/cardsfolder/p/phyrexian_totem.txt | 2 +- .../res/cardsfolder/p/putrid_warrior.txt | 2 +- forge-gui/res/cardsfolder/r/ragged_veins.txt | 2 +- forge-gui/res/cardsfolder/r/rakavolver.txt | 2 +- .../res/cardsfolder/r/ranging_raptors.txt | 2 +- .../res/cardsfolder/r/raptor_hatchling.txt | 2 +- .../cardsfolder/r/ravenous_daggertooth.txt | 2 +- forge-gui/res/cardsfolder/r/repercussion.txt | 2 +- forge-gui/res/cardsfolder/r/ripjaw_raptor.txt | 2 +- .../res/cardsfolder/r/rite_of_passage.txt | 2 +- forge-gui/res/cardsfolder/s/saber_ants.txt | 2 +- .../res/cardsfolder/s/shinka_gatekeeper.txt | 2 +- .../res/cardsfolder/s/shriveling_rot.txt | 2 +- forge-gui/res/cardsfolder/s/soul_link.txt | 4 +- forge-gui/res/cardsfolder/s/spirit_link.txt | 2 +- forge-gui/res/cardsfolder/s/spirit_loop.txt | 2 +- forge-gui/res/cardsfolder/s/spiritualize.txt | 2 +- .../res/cardsfolder/s/spiteful_shadows.txt | 2 +- forge-gui/res/cardsfolder/s/spitemare.txt | 2 +- .../cardsfolder/s/sprouting_phytohydra.txt | 2 +- .../res/cardsfolder/s/stir_the_pride.txt | 2 +- forge-gui/res/cardsfolder/s/stuffy_doll.txt | 2 +- .../res/cardsfolder/s/sun_crowned_hunters.txt | 2 +- forge-gui/res/cardsfolder/s/sun_droplet.txt | 2 +- forge-gui/res/cardsfolder/t/tamanoa.txt | 2 +- .../res/cardsfolder/t/thrashing_mudspawn.txt | 2 +- forge-gui/res/cardsfolder/v/vampiric_link.txt | 2 +- .../cardsfolder/v/visions_of_brutality.txt | 2 +- forge-gui/res/cardsfolder/v/volatile_rig.txt | 2 +- forge-gui/res/cardsfolder/w/wall_of_hope.txt | 2 +- forge-gui/res/cardsfolder/w/war_elemental.txt | 2 +- forge-gui/res/cardsfolder/w/warrior_angel.txt | 2 +- forge-gui/res/cardsfolder/z/zebra_unicorn.txt | 2 +- 83 files changed, 98 insertions(+), 154 deletions(-) diff --git a/forge-game/src/main/java/forge/game/trigger/TriggerDamageDone.java b/forge-game/src/main/java/forge/game/trigger/TriggerDamageDone.java index 11cbff34..dc9df9b8 100644 --- a/forge-game/src/main/java/forge/game/trigger/TriggerDamageDone.java +++ b/forge-game/src/main/java/forge/game/trigger/TriggerDamageDone.java @@ -6,12 +6,12 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ @@ -23,13 +23,11 @@ import forge.game.spellability.SpellAbility; import forge.game.spellability.SpellAbilityStackInstance; import forge.util.Expressions; -import java.util.Set; - /** *

* Trigger_DamageDone class. *

- * + * * @author Forge * @version $Id$ */ @@ -39,7 +37,7 @@ public class TriggerDamageDone extends Trigger { *

* Constructor for Trigger_DamageDone. *

- * + * * @param params * a {@link java.util.HashMap} object. * @param host @@ -57,63 +55,16 @@ public class TriggerDamageDone extends Trigger { final Card src = (Card) runParams2.get("DamageSource"); final Object tgt = runParams2.get("DamageTarget"); - // DamageDone with OnlyOnce$ True is interested in counting the damage only once, e.g. for all creatures in - // combat. - if (runParams2.containsKey("CombatDamageOnce")) { - if (!this.mapParams.containsKey("OnlyOnce")) { - // We're not interested in additional OnlyOnce triggers, only in standard DamageDone - return false; - } - } - if (this.mapParams.containsKey("OnlyOnce")) { - // This currently only works for combat damage. Feel free to improve. - if (runParams2.containsKey("IsCombatDamage") && ((Boolean) runParams2.get("IsCombatDamage")) && !runParams2.containsKey("CombatDamageOnce")) { - return false; - } - // Ensure that the trigger doesn't run twice if we're only interested from damage from a ValidSource or to - // a ValidTarget but not both (since otherwise the trigger will fire twice: once when testing the trigger - // from source to target(s), and once when testing it from source(s) to target - if (!(this.mapParams.containsKey("ValidSource") && this.mapParams.containsKey("ValidTarget"))) { - if (this.mapParams.containsKey("ValidSource") && src == null) { - return false; - } - if (this.mapParams.containsKey("ValidTarget") && tgt == null) { - return false; - } - } - } - if (this.mapParams.containsKey("ValidSource")) { - if (src != null) { - if (!src.isValid(this.mapParams.get("ValidSource").split(","), this.getHostCard().getController(), - this.getHostCard(), null)) { - return false; - } - } else if (runParams2.containsKey("DamageSources")) { // OnlyOnce$ True - boolean hasValidSrc = false; - for (Card srcs : (Set)runParams2.get("DamageSources")) { - if (srcs.isValid(this.mapParams.get("ValidSource").split(","), this.getHostCard().getController(), - this.getHostCard(), null)) { - hasValidSrc = true; - } - } - if (!hasValidSrc) { return false; } + if (!src.isValid(this.mapParams.get("ValidSource").split(","), this.getHostCard().getController(), + this.getHostCard(), null)) { + return false; } } if (this.mapParams.containsKey("ValidTarget")) { - if (tgt != null) { - if (!matchesValid(tgt, this.mapParams.get("ValidTarget").split(","), this.getHostCard())) { - return false; - } - } else if (runParams2.containsKey("DamageTargets")) { // OnlyOnce$ True - boolean hasValidTgt = false; - for (Object tgts : (Set)runParams2.get("DamageTargets")) { - if (matchesValid(tgt, this.mapParams.get("ValidTarget").split(","), this.getHostCard())) { - hasValidTgt = true; - } - } - if (!hasValidTgt) { return false; } + if (!matchesValid(tgt, this.mapParams.get("ValidTarget").split(","), this.getHostCard())) { + return false; } } @@ -167,12 +118,8 @@ public class TriggerDamageDone extends Trigger { /** {@inheritDoc} */ @Override public final void setTriggeringObjects(final SpellAbility sa) { - if (this.getRunParams().containsKey("DamageSource")) { - sa.setTriggeringObject("Source", CardUtil.getLKICopy((Card) this.getRunParams().get("DamageSource"))); - } - if (this.getRunParams().containsKey("DamageTarget")) { - sa.setTriggeringObject("Target", this.getRunParams().get("DamageTarget")); - } + sa.setTriggeringObject("Source", CardUtil.getLKICopy((Card)this.getRunParams().get("DamageSource"))); + sa.setTriggeringObject("Target", this.getRunParams().get("DamageTarget")); sa.setTriggeringObject("DamageAmount", this.getRunParams().get("DamageAmount")); // This parameter is here because LKI information related to combat doesn't work properly sa.setTriggeringObject("DefendingPlayer", this.getRunParams().get("DefendingPlayer")); @@ -181,13 +128,10 @@ public class TriggerDamageDone extends Trigger { @Override public String getImportantStackObjects(SpellAbility sa) { StringBuilder sb = new StringBuilder(); - if (sa.getTriggeringObject("Source") != null) { - sb.append("Damage Source: ").append(sa.getTriggeringObject("Source")).append(", "); - } - if (sa.getTriggeringObject("Target") != null) { - sb.append("Damaged: ").append(sa.getTriggeringObject("Target")).append(", "); - } + sb.append("Damage Source: ").append(sa.getTriggeringObject("Source")).append(", "); + sb.append("Damaged: ").append(sa.getTriggeringObject("Target")).append(", "); sb.append("Amount: ").append(sa.getTriggeringObject("DamageAmount")); return sb.toString(); } } + diff --git a/forge-gui/res/cardsfolder/a/angel_of_deliverance.txt b/forge-gui/res/cardsfolder/a/angel_of_deliverance.txt index f03bddff..f5916f11 100644 --- a/forge-gui/res/cardsfolder/a/angel_of_deliverance.txt +++ b/forge-gui/res/cardsfolder/a/angel_of_deliverance.txt @@ -3,7 +3,7 @@ ManaCost:6 W W Types:Creature Angel PT:6/6 K:Flying -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigChange | Delirium$ True | TriggerZones$ Battlefield | TriggerDescription$ Delirium — Whenever CARDNAME deals damage, if there are four or more card types among cards in your graveyard, exile target creature an opponent controls. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigChange | Delirium$ True | TriggerZones$ Battlefield | TriggerDescription$ Delirium — Whenever CARDNAME deals damage, if there are four or more card types among cards in your graveyard, exile target creature an opponent controls. SVar:TrigChange:DB$ ChangeZone | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | Origin$ Battlefield | Destination$ Exile SVar:HasCombatEffect:TRUE DeckHints:Ability$Graveyard & Ability$Discard diff --git a/forge-gui/res/cardsfolder/a/angelheart_vial.txt b/forge-gui/res/cardsfolder/a/angelheart_vial.txt index 18046a2a..da29bc48 100644 --- a/forge-gui/res/cardsfolder/a/angelheart_vial.txt +++ b/forge-gui/res/cardsfolder/a/angelheart_vial.txt @@ -2,7 +2,7 @@ Name:Angelheart Vial ManaCost:5 Types:Artifact A:AB$ GainLife | Cost$ 2 T SubCounter<4/CHARGE> | Defined$ You | LifeAmount$ 2 | SubAbility$ DBDraw | SpellDescription$ You gain 2 life and draw a card. -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ Whenever you're dealt damage, you may put that many charge counters on CARDNAME. +T:Mode$ DamageDoneOnce | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ Whenever you're dealt damage, you may put that many charge counters on CARDNAME. SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 SVar:TrigPutCounter:AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ CHARGE | CounterNum$ X | References$ X SVar:X:TriggerCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/a/arcbond.txt b/forge-gui/res/cardsfolder/a/arcbond.txt index 47b33832..69eb1235 100644 --- a/forge-gui/res/cardsfolder/a/arcbond.txt +++ b/forge-gui/res/cardsfolder/a/arcbond.txt @@ -2,7 +2,7 @@ Name:Arcbond ManaCost:2 R Types:Instant A:SP$ Effect | Cost$ 2 R | Name$ Arcbond Effect | ValidTgts$ Creature | Triggers$ TrigDealtDmg,OutOfSight | SVars$ ExileSelf,DmgOther,X | RememberObjects$ Targeted | SpellDescription$ Choose target creature. Whenever that creature is dealt damage this turn, it deals that much damage to each other creature and each player. -SVar:TrigDealtDmg:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.IsRemembered | Execute$ DmgOther | TriggerDescription$ Whenever that creature is dealt damage this turn, it deals that much damage to each other creature and each player. +SVar:TrigDealtDmg:Mode$ DamageDoneOnce | ValidTarget$ Card.IsRemembered | Execute$ DmgOther | TriggerDescription$ Whenever that creature is dealt damage this turn, it deals that much damage to each other creature and each player. SVar:DmgOther:DB$ DamageAll | ValidCards$ Creature.IsNotRemembered | ValidPlayers$ Player | NumDmg$ X | DamageSource$ Remembered | References$ X SVar:OutOfSight:Mode$ ChangesZone | TriggerZones$ Command | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsRemembered | Execute$ ExileSelf | Static$ True SVar:ExileSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/a/armadillo_cloak.txt b/forge-gui/res/cardsfolder/a/armadillo_cloak.txt index 62b9a016..7b3957d5 100644 --- a/forge-gui/res/cardsfolder/a/armadillo_cloak.txt +++ b/forge-gui/res/cardsfolder/a/armadillo_cloak.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 G W | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 2 | AddToughness$ 2 | AddKeyword$ Trample | Description$ Enchanted creature gets +2/+2 and has trample. -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals 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/armadillo_cloak.jpg diff --git a/forge-gui/res/cardsfolder/b/bellowing_aegisaur.txt b/forge-gui/res/cardsfolder/b/bellowing_aegisaur.txt index 59819b77..b6a15f96 100644 --- a/forge-gui/res/cardsfolder/b/bellowing_aegisaur.txt +++ b/forge-gui/res/cardsfolder/b/bellowing_aegisaur.txt @@ -2,7 +2,7 @@ Name:Bellowing Aegisaur ManaCost:5 W Types:Creature Dinosaur PT:3/5 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ PutCounterAll | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, put a +1/+1 counter on each other creature you control. +T:Mode$ DamageDoneOnce | Execute$ PutCounterAll | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, put a +1/+1 counter on each other creature you control. SVar:PutCounterAll:DB$ PutCounterAll | ValidCards$ Creature.Other+YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on each other creature you control. SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/bellowing_aegisaur.jpg diff --git a/forge-gui/res/cardsfolder/b/binding_agony.txt b/forge-gui/res/cardsfolder/b/binding_agony.txt index 588b7620..45ab4ee4 100644 --- a/forge-gui/res/cardsfolder/b/binding_agony.txt +++ b/forge-gui/res/cardsfolder/b/binding_agony.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | AILogic$ Curse -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever enchanted creature is dealt damage, CARDNAME deals that much damage to that creature's controller. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever enchanted creature is dealt damage, CARDNAME deals that much damage to that creature's controller. SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredTargetController | NumDmg$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/binding_agony.jpg diff --git a/forge-gui/res/cardsfolder/b/boros_reckoner.txt b/forge-gui/res/cardsfolder/b/boros_reckoner.txt index 115050a1..0a46e00a 100644 --- a/forge-gui/res/cardsfolder/b/boros_reckoner.txt +++ b/forge-gui/res/cardsfolder/b/boros_reckoner.txt @@ -2,7 +2,7 @@ Name:Boros Reckoner ManaCost:RW RW RW Types:Creature Minotaur Wizard PT:3/3 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to target creature or player. +T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to target creature or player. SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | References$ X | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player A:AB$ Pump | Cost$ RW | KW$ First Strike | Defined$ Self | SpellDescription$ CARDNAME gains first strike until end of turn. SVar:X:TriggerCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/b/broodhatch_nantuko.txt b/forge-gui/res/cardsfolder/b/broodhatch_nantuko.txt index 47b8bc9c..9d4c9cd9 100644 --- a/forge-gui/res/cardsfolder/b/broodhatch_nantuko.txt +++ b/forge-gui/res/cardsfolder/b/broodhatch_nantuko.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Creature Insect Druid PT:1/1 K:Morph:2 G -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME is dealt damage, you may create that many 1/1 green Insect creature tokens. +T:Mode$ DamageDoneOnce | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME is dealt damage, you may create that many 1/1 green Insect creature tokens. SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ X | TokenName$ Insect | TokenTypes$ Creature,Insect | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/c/coalhauler_swine.txt b/forge-gui/res/cardsfolder/c/coalhauler_swine.txt index 37b42e34..678b9859 100644 --- a/forge-gui/res/cardsfolder/c/coalhauler_swine.txt +++ b/forge-gui/res/cardsfolder/c/coalhauler_swine.txt @@ -2,7 +2,7 @@ Name:Coalhauler Swine ManaCost:4 R R Types:Creature Boar Beast PT:4/4 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to each player. +T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to each player. SVar:TrigDamage:AB$ DealDamage | Cost$ 0 | NumDmg$ X | Defined$ Player | References$ X SVar:X:TriggerCount$DamageAmount SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/d/darien_king_of_kjeldor.txt b/forge-gui/res/cardsfolder/d/darien_king_of_kjeldor.txt index 3de056ad..ac6b02d3 100644 --- a/forge-gui/res/cardsfolder/d/darien_king_of_kjeldor.txt +++ b/forge-gui/res/cardsfolder/d/darien_king_of_kjeldor.txt @@ -2,7 +2,7 @@ Name:Darien, King of Kjeldor ManaCost:4 W W Types:Legendary Creature Human Soldier PT:3/3 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigToken | ValidTarget$ You | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever you're dealt damage, you may create that many 1/1 white Soldier creature tokens. +T:Mode$ DamageDoneOnce | Execute$ TrigToken | ValidTarget$ You | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever you're dealt damage, you may create that many 1/1 white Soldier creature tokens. SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenName$ Soldier | TokenTypes$ Creature,Soldier | TokenOwner$ You | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ w 1 1 soldier CSP | References$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/darien_king_of_kjeldor.jpg diff --git a/forge-gui/res/cardsfolder/d/death_pits_of_rath.txt b/forge-gui/res/cardsfolder/d/death_pits_of_rath.txt index cebd20a6..1193d214 100644 --- a/forge-gui/res/cardsfolder/d/death_pits_of_rath.txt +++ b/forge-gui/res/cardsfolder/d/death_pits_of_rath.txt @@ -3,7 +3,7 @@ ManaCost:3 B B Types:Enchantment S:Mode$ Continuous | Affected$ Creature | AddSVar$ DeathDestroy SVar:DeathDestroy:SVar:DestroyWhenDamaged:True -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Creature | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature is dealt damage, destroy it. It can't be regenerated. +T:Mode$ DamageDoneOnce | ValidTarget$ Creature | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature is dealt damage, destroy it. It can't be regenerated. SVar:TrigDestroy:DB$ Destroy | Defined$ TriggeredTarget | NoRegen$ True SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/death_pits_of_rath.jpg diff --git a/forge-gui/res/cardsfolder/d/deep_slumber_titan.txt b/forge-gui/res/cardsfolder/d/deep_slumber_titan.txt index 34f499d8..dede03ee 100644 --- a/forge-gui/res/cardsfolder/d/deep_slumber_titan.txt +++ b/forge-gui/res/cardsfolder/d/deep_slumber_titan.txt @@ -4,7 +4,7 @@ Types:Creature Giant Warrior PT:7/7 K:CARDNAME enters the battlefield tapped. K:CARDNAME doesn't untap during your untap step. -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | Execute$ TrigUntap | TriggerDescription$ Whenever CARDNAME is dealt damage, untap it. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigUntap | TriggerDescription$ Whenever CARDNAME is dealt damage, untap it. SVar:TrigUntap:DB$ Untap | Defined$ Self SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/deep_slumber_titan.jpg diff --git a/forge-gui/res/cardsfolder/d/doubtless_one.txt b/forge-gui/res/cardsfolder/d/doubtless_one.txt index db7393ae..7e039aa1 100644 --- a/forge-gui/res/cardsfolder/d/doubtless_one.txt +++ b/forge-gui/res/cardsfolder/d/doubtless_one.txt @@ -4,7 +4,7 @@ Types:Creature Cleric Avatar PT:*/* S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Clerics on the battlefield. SVar:X:Count$Valid Cleric -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ Y | References$ Y SVar:Y:TriggerCount$DamageAmount SVar:BuffedBy:Cleric diff --git a/forge-gui/res/cardsfolder/d/dromad_purebred.txt b/forge-gui/res/cardsfolder/d/dromad_purebred.txt index 9d01b566..ca925c35 100644 --- a/forge-gui/res/cardsfolder/d/dromad_purebred.txt +++ b/forge-gui/res/cardsfolder/d/dromad_purebred.txt @@ -2,7 +2,7 @@ Name:Dromad Purebred ManaCost:4 W Types:Creature Camel Beast PT:1/5 -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you gain 1 life. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you gain 1 life. SVar:TrigGainLife:DB$ GainLife | LifeAmount$ 1 SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/dromad_purebred.jpg diff --git a/forge-gui/res/cardsfolder/d/druids_call.txt b/forge-gui/res/cardsfolder/d/druids_call.txt index 21cd49e5..3445f6b9 100644 --- a/forge-gui/res/cardsfolder/d/druids_call.txt +++ b/forge-gui/res/cardsfolder/d/druids_call.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 G | ValidTgts$ Creature | AILogic$ Pump -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever enchanted creature is dealt damage, its controller creates that many 1/1 green Squirrel creature tokens. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever enchanted creature is dealt damage, its controller creates that many 1/1 green Squirrel creature tokens. SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenName$ Squirrel | TokenTypes$ Creature,Squirrel | TokenOwner$ TriggeredTargetController | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | References$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/druids_call.jpg diff --git a/forge-gui/res/cardsfolder/e/el_hajjaj.txt b/forge-gui/res/cardsfolder/e/el_hajjaj.txt index 45b84191..cd660cc7 100644 --- a/forge-gui/res/cardsfolder/e/el_hajjaj.txt +++ b/forge-gui/res/cardsfolder/e/el_hajjaj.txt @@ -2,7 +2,7 @@ Name:El-Hajjaj ManaCost:1 B B Types:Creature Human Wizard PT:1/1 -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:TrigGain:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/e/emberwilde_caliph.txt b/forge-gui/res/cardsfolder/e/emberwilde_caliph.txt index cdfb05bc..63b4bc28 100644 --- a/forge-gui/res/cardsfolder/e/emberwilde_caliph.txt +++ b/forge-gui/res/cardsfolder/e/emberwilde_caliph.txt @@ -5,7 +5,7 @@ PT:4/4 K:Flying K:Trample K:CARDNAME attacks each turn if able. -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME deals damage, you lose that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME deals damage, you lose that much life. SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/e/essence_sliver.txt b/forge-gui/res/cardsfolder/e/essence_sliver.txt index d7b397f7..103047a2 100644 --- a/forge-gui/res/cardsfolder/e/essence_sliver.txt +++ b/forge-gui/res/cardsfolder/e/essence_sliver.txt @@ -2,7 +2,7 @@ Name:Essence Sliver ManaCost:3 W Types:Creature Sliver PT:3/3 -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Sliver | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever a Sliver deals damage, its controller gains that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Sliver | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever a Sliver deals damage, its controller gains that much life. SVar:TrigGain:AB$GainLife | Cost$ 0 | Defined$ TriggeredSourceController | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/e/exalted_angel.txt b/forge-gui/res/cardsfolder/e/exalted_angel.txt index d3d97608..baad4cd9 100644 --- a/forge-gui/res/cardsfolder/e/exalted_angel.txt +++ b/forge-gui/res/cardsfolder/e/exalted_angel.txt @@ -3,7 +3,7 @@ ManaCost:4 W W Types:Creature Angel PT:4/5 K:Flying -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount K:Morph:2 W W diff --git a/forge-gui/res/cardsfolder/f/filthy_cur.txt b/forge-gui/res/cardsfolder/f/filthy_cur.txt index 057c8395..b309a265 100644 --- a/forge-gui/res/cardsfolder/f/filthy_cur.txt +++ b/forge-gui/res/cardsfolder/f/filthy_cur.txt @@ -2,7 +2,7 @@ Name:Filthy Cur ManaCost:1 B Types:Creature Hound PT:2/2 -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you lose that much life. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you lose that much life. SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/filthy_cur.jpg diff --git a/forge-gui/res/cardsfolder/f/firedrinker_satyr.txt b/forge-gui/res/cardsfolder/f/firedrinker_satyr.txt index 9d9f5f4a..33307be2 100644 --- a/forge-gui/res/cardsfolder/f/firedrinker_satyr.txt +++ b/forge-gui/res/cardsfolder/f/firedrinker_satyr.txt @@ -2,7 +2,7 @@ Name:Firedrinker Satyr ManaCost:R Types:Creature Satyr Shaman PT:2/1 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you. +T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you. SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ You | References$ X SVar:X:TriggerCount$DamageAmount A:AB$ Pump | Cost$ 1 R | NumAtt$ 1 | SubAbility$ DBDmg | SpellDescription$ CARDNAME gets +1/+0 until end of turn and deals 1 damage to you. diff --git a/forge-gui/res/cardsfolder/f/flash_conscription.txt b/forge-gui/res/cardsfolder/f/flash_conscription.txt index 9fdde579..3b738c3f 100644 --- a/forge-gui/res/cardsfolder/f/flash_conscription.txt +++ b/forge-gui/res/cardsfolder/f/flash_conscription.txt @@ -3,7 +3,7 @@ ManaCost:5 R Types:Instant A:SP$ GainControl | Cost$ 5 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | AddKWs$ Haste | LoseControl$ EOT | Untap$ True | SubAbility$ DBAnimate | SpellDescription$ Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn. If {W} was spent to cast CARDNAME, the creature gains "Whenever this creature deals combat damage, you gain that much life" until end of turn. SVar:DBAnimate:DB$ Animate | Defined$ Targeted | Triggers$ TrigDamage | sVars$ GainLife,X | ConditionManaSpent$ W -SVar:TrigDamage:Mode$ DamageDone | OnlyOnce$ True | CombatDamage$ True | ValidSource$ Card.Self | Execute$ GainLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever this creature deals combat damage, you gain that much life. +SVar:TrigDamage:Mode$ DamageDoneOnce | CombatDamage$ True | ValidSource$ Card.Self | Execute$ GainLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever this creature deals combat damage, you gain that much life. SVar:GainLife:AB$ GainLife | Cost$ 0 | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/f/frozen_solid.txt b/forge-gui/res/cardsfolder/f/frozen_solid.txt index 4fd013ff..14edb093 100644 --- a/forge-gui/res/cardsfolder/f/frozen_solid.txt +++ b/forge-gui/res/cardsfolder/f/frozen_solid.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ 1 U U | ValidTgts$ Creature | AILogic$ KeepTapped S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | AddSVar$ FrozenSolidDestroy | Description$ Enchanted creature doesn't untap during its controller's untap step. SVar:FrozenSolidDestroy:SVar:DestroyWhenDamaged:True -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Creature.EnchantedBy | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ When enchanted creature is dealt damage, destroy it. +T:Mode$ DamageDoneOnce | ValidTarget$ Creature.EnchantedBy | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ When enchanted creature is dealt damage, destroy it. SVar:TrigDestroy:DB$ Destroy | Defined$ TriggeredTarget SVar:Picture:http://www.wizards.com/global/images/magic/general/frozen_solid.jpg Oracle:Enchant creature\nEnchanted creature doesn't untap during its controller's untap step.\nWhen enchanted creature is dealt damage, destroy it. diff --git a/forge-gui/res/cardsfolder/f/fungus_sliver.txt b/forge-gui/res/cardsfolder/f/fungus_sliver.txt index aae123ae..2ca5b6f3 100644 --- a/forge-gui/res/cardsfolder/f/fungus_sliver.txt +++ b/forge-gui/res/cardsfolder/f/fungus_sliver.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Fungus Sliver PT:2/2 S:Mode$ Continuous | Affected$ Creature.Sliver | AddTrigger$ OnDmg | AddSVar$ FungusSliverCounters | Description$ All Sliver creatures have "Whenever this creature is dealt damage, put a +1/+1 counter on it." (The damage is dealt before the counter is put on.) -SVar:OnDmg:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | Execute$ FungusSliverCounters | TriggerDescription$ Whenever CARDNAME is dealt damage, put a +1/+1 counter on it. +SVar:OnDmg:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ FungusSliverCounters | TriggerDescription$ Whenever CARDNAME is dealt damage, put a +1/+1 counter on it. SVar:FungusSliverCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 SVar:PlayMain1:TRUE SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/f/fungusaur.txt b/forge-gui/res/cardsfolder/f/fungusaur.txt index e8f18c69..91918058 100644 --- a/forge-gui/res/cardsfolder/f/fungusaur.txt +++ b/forge-gui/res/cardsfolder/f/fungusaur.txt @@ -2,7 +2,7 @@ Name:Fungusaur ManaCost:3 G Types:Creature Fungus Dinosaur PT:2/2 -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME is dealt damage, put a +1/+1 counter on it. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME is dealt damage, put a +1/+1 counter on it. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/fungusaur.jpg diff --git a/forge-gui/res/cardsfolder/g/genju_of_the_fields.txt b/forge-gui/res/cardsfolder/g/genju_of_the_fields.txt index c7a3b506..ace9fbd0 100644 --- a/forge-gui/res/cardsfolder/g/genju_of_the_fields.txt +++ b/forge-gui/res/cardsfolder/g/genju_of_the_fields.txt @@ -6,7 +6,7 @@ A:SP$ Attach | Cost$ W | ValidTgts$ Plains | AILogic$ Pump A:AB$ Animate | Cost$ 2 | Defined$ Enchanted | Power$ 2 | Toughness$ 5 | Types$ Creature,Spirit | Colors$ White | Triggers$ PseudoLifelink | sVars$ GenjuTrigGain,GenjuX | SpellDescription$ Until end of turn, enchanted Plains becomes a 2/5 white Spirit creature with "Whenever this creature deals damage, its controller gains that much life." It's still a land. T:Mode$ ChangesZone | ValidCard$ Card.AttachedBy | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | Execute$ TrigReturnOwner | OptionalDecider$ You | TriggerDescription$ When enchanted Plains is put into a graveyard, you may return CARDNAME from your graveyard to your hand. SVar:TrigReturnOwner:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Hand -SVar:PseudoLifelink:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ GenjuTrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +SVar:PseudoLifelink:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ GenjuTrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:GenjuTrigGain:DB$ GainLife | Defined$ You | LifeAmount$ GenjuX | References$ GenjuX SVar:NonStackingAttachEffect:True SVar:AIPaymentPreference:AvoidPayingWithAttachTarget diff --git a/forge-gui/res/cardsfolder/g/grollub.txt b/forge-gui/res/cardsfolder/g/grollub.txt index 67c704da..8ed7829f 100644 --- a/forge-gui/res/cardsfolder/g/grollub.txt +++ b/forge-gui/res/cardsfolder/g/grollub.txt @@ -2,7 +2,7 @@ Name:Grollub ManaCost:2 B Types:Creature Beast PT:3/3 -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, each opponent gains that much life. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, each opponent gains that much life. SVar:TrigGain:AB$ GainLife | Cost$ 0 | Defined$ Player.Opponent | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/g/guilty_conscience.txt b/forge-gui/res/cardsfolder/g/guilty_conscience.txt index 59a6537a..126d399c 100644 --- a/forge-gui/res/cardsfolder/g/guilty_conscience.txt +++ b/forge-gui/res/cardsfolder/g/guilty_conscience.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ W | ValidTgts$ Creature | AILogic$ SpecificCard -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.AttachedBy | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, CARDNAME deals that much damage to that creature. +T:Mode$ DamageDoneOnce | ValidSource$ Card.AttachedBy | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, CARDNAME deals that much damage to that creature. SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredSource | NumDmg$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/guilty_conscience.jpg diff --git a/forge-gui/res/cardsfolder/h/high_priest_of_penance.txt b/forge-gui/res/cardsfolder/h/high_priest_of_penance.txt index 091350b4..4d78b853 100644 --- a/forge-gui/res/cardsfolder/h/high_priest_of_penance.txt +++ b/forge-gui/res/cardsfolder/h/high_priest_of_penance.txt @@ -2,7 +2,7 @@ Name:High Priest of Penance ManaCost:W B Types:Creature Human Cleric PT:1/1 -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | OptionalDecider$ You | Execute$ TrigDestroy | TriggerDescription$ When CARDNAME is dealt damage, you may destroy target nonland permanent. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | OptionalDecider$ You | Execute$ TrigDestroy | TriggerDescription$ When CARDNAME is dealt damage, you may destroy target nonland permanent. SVar:TrigDestroy:DB$ Destroy | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select target nonland permanent SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/high_priest_of_penance.jpg diff --git a/forge-gui/res/cardsfolder/h/horned_cheetah.txt b/forge-gui/res/cardsfolder/h/horned_cheetah.txt index 8690072e..1732382b 100644 --- a/forge-gui/res/cardsfolder/h/horned_cheetah.txt +++ b/forge-gui/res/cardsfolder/h/horned_cheetah.txt @@ -2,7 +2,7 @@ Name:Horned Cheetah ManaCost:2 G W Types:Creature Cat PT:2/2 -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/h/hornet_nest.txt b/forge-gui/res/cardsfolder/h/hornet_nest.txt index dd6a27d1..da90b6e5 100644 --- a/forge-gui/res/cardsfolder/h/hornet_nest.txt +++ b/forge-gui/res/cardsfolder/h/hornet_nest.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Insect PT:0/2 K:Defender -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, create that many 1/1 green Insect creature tokens with flying and deathtouch. +T:Mode$ DamageDoneOnce | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, create that many 1/1 green Insect creature tokens with flying and deathtouch. SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenName$ Insect | TokenTypes$ Creature,Insect | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ g 1 1 insect M15 | TokenKeywords$ Flying<>Deathtouch | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/h/hot_soup.txt b/forge-gui/res/cardsfolder/h/hot_soup.txt index 6a223b77..c66e8af5 100644 --- a/forge-gui/res/cardsfolder/h/hot_soup.txt +++ b/forge-gui/res/cardsfolder/h/hot_soup.txt @@ -4,7 +4,7 @@ Types:Artifact Equipment K:Equip 3 S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddSVar$ HotSoupDestroy | AddHiddenKeyword$ Unblockable | Description$ Equipped creature can't be blocked. SVar:HotSoupDestroy:SVar:DestroyWhenDamaged:True -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Creature.EquippedBy | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ When equipped creature is dealt damage, destroy it. +T:Mode$ DamageDoneOnce | ValidTarget$ Creature.EquippedBy | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ When equipped creature is dealt damage, destroy it. SVar:TrigDestroy:AB$ Destroy | Cost$ 0 | Defined$ TriggeredTarget SVar:NonStackingAttachEffect:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hot_soup.jpg diff --git a/forge-gui/res/cardsfolder/i/illusory_ambusher.txt b/forge-gui/res/cardsfolder/i/illusory_ambusher.txt index 8e229075..0cb65b4a 100644 --- a/forge-gui/res/cardsfolder/i/illusory_ambusher.txt +++ b/forge-gui/res/cardsfolder/i/illusory_ambusher.txt @@ -3,7 +3,7 @@ ManaCost:4 U Types:Creature Cat Illusion PT:4/1 K:Flash -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigDraw | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, draw that many cards. +T:Mode$ DamageDoneOnce | Execute$ TrigDraw | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, draw that many cards. SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/j/jackal_pup.txt b/forge-gui/res/cardsfolder/j/jackal_pup.txt index fd98b8e4..56000e0a 100644 --- a/forge-gui/res/cardsfolder/j/jackal_pup.txt +++ b/forge-gui/res/cardsfolder/j/jackal_pup.txt @@ -2,7 +2,7 @@ Name:Jackal Pup ManaCost:R Types:Creature Jackal PT:2/1 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you. +T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you. SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ You | References$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/jackal_pup.jpg diff --git a/forge-gui/res/cardsfolder/j/jagged_poppet.txt b/forge-gui/res/cardsfolder/j/jagged_poppet.txt index 2a9fdf84..7ee045c8 100644 --- a/forge-gui/res/cardsfolder/j/jagged_poppet.txt +++ b/forge-gui/res/cardsfolder/j/jagged_poppet.txt @@ -2,8 +2,8 @@ Name:Jagged Poppet ManaCost:1 B R Types:Creature Ogre Warrior PT:3/4 -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | Execute$ TrigYouDiscard | TriggerDescription$ Whenever CARDNAME is dealt damage, discard that many cards. -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Hellbent$ True | Execute$ TrigOppDiscard | TriggerDescription$ Hellbent — Whenever CARDNAME deals combat damage to a player, if you have no cards in hand, that player discards cards equal to the damage. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigYouDiscard | TriggerDescription$ Whenever CARDNAME is dealt damage, discard that many cards. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Hellbent$ True | Execute$ TrigOppDiscard | TriggerDescription$ Hellbent — Whenever CARDNAME deals combat damage to a player, if you have no cards in hand, that player discards cards equal to the damage. SVar:TrigYouDiscard:DB$ Discard | Defined$ You | NumCards$ X | Mode$ TgtChoose | References$ X SVar:TrigOppDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ X | Mode$ TgtChoose | References$ X SVar:X:TriggerCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/j/justice.txt b/forge-gui/res/cardsfolder/j/justice.txt index ac122e6e..f4afb16d 100644 --- a/forge-gui/res/cardsfolder/j/justice.txt +++ b/forge-gui/res/cardsfolder/j/justice.txt @@ -2,7 +2,7 @@ Name:Justice ManaCost:2 W W Types:Enchantment K:UpkeepCost:W W -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Red | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ Whenever a red creature or spell deals damage, CARDNAME deals that much damage to that creature's or spell's controller. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Red | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ Whenever a red creature or spell deals damage, CARDNAME deals that much damage to that creature's or spell's controller. SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredSourceController | NumDmg$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:RemRandomDeck:True diff --git a/forge-gui/res/cardsfolder/k/kami_of_the_honored_dead.txt b/forge-gui/res/cardsfolder/k/kami_of_the_honored_dead.txt index c343a039..e3f60dc0 100644 --- a/forge-gui/res/cardsfolder/k/kami_of_the_honored_dead.txt +++ b/forge-gui/res/cardsfolder/k/kami_of_the_honored_dead.txt @@ -4,7 +4,7 @@ Types:Creature Spirit PT:3/5 K:Flying K:Soulshift:6 -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigGain | TriggerDescription$ Whenever CARDNAME is dealt damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigGain | TriggerDescription$ Whenever CARDNAME is dealt damage, you gain that much life. SVar:TrigGain:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/k/kiyomaro_first_to_stand.txt b/forge-gui/res/cardsfolder/k/kiyomaro_first_to_stand.txt index 7515f2b2..3a48f65e 100644 --- a/forge-gui/res/cardsfolder/k/kiyomaro_first_to_stand.txt +++ b/forge-gui/res/cardsfolder/k/kiyomaro_first_to_stand.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Spirit PT:*/* S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Vigilance | CheckSVar$ X | SVarCompare$ GE4 | Description$ As long as you have four or more cards in hand, CARDNAME has vigilance. -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | CheckSVar$ X | SVarCompare$ GE7 | TriggerZones$ Battlefield | Execute$ TrigGain | TriggerDescription$ Whenever CARDNAME deals damage, if you have seven or more cards in hand, you gain 7 life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | CheckSVar$ X | SVarCompare$ GE7 | TriggerZones$ Battlefield | Execute$ TrigGain | TriggerDescription$ Whenever CARDNAME deals damage, if you have seven or more cards in hand, you gain 7 life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ 7 SVar:X:Count$InYourHand SVar:NeedsToPlayVar:X GE3 diff --git a/forge-gui/res/cardsfolder/k/kjeldoran_gargoyle.txt b/forge-gui/res/cardsfolder/k/kjeldoran_gargoyle.txt index f459298c..0bd3f049 100644 --- a/forge-gui/res/cardsfolder/k/kjeldoran_gargoyle.txt +++ b/forge-gui/res/cardsfolder/k/kjeldoran_gargoyle.txt @@ -4,7 +4,7 @@ Types:Creature Gargoyle PT:3/3 K:Flying K:First Strike -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:TrigGain:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/l/lich.txt b/forge-gui/res/cardsfolder/l/lich.txt index 35ffb4dc..c32ae1cc 100644 --- a/forge-gui/res/cardsfolder/l/lich.txt +++ b/forge-gui/res/cardsfolder/l/lich.txt @@ -9,7 +9,7 @@ S:Mode$ Continuous | Affected$ You | AddKeyword$ You don't lose the game for hav R:Event$ GainLife | ActiveZones$ Battlefield | ValidPlayer$ You | AiLogic$ LichDraw | ReplaceWith$ Draw | Description$ If you would gain life, draw that many cards instead. SVar:Draw:DB$ Draw | Defined$ You | NumCards$ X | References$ X SVar:X:ReplaceCount$LifeGained -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigLoseOrSac | TriggerDescription$ Whenever you're dealt damage, sacrifice that many nontoken permanents. If you can't, you lose the game. +T:Mode$ DamageDoneOnce | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigLoseOrSac | TriggerDescription$ Whenever you're dealt damage, sacrifice that many nontoken permanents. If you can't, you lose the game. SVar:TrigLoseOrSac:DB$ LosesGame | Defined$ You | ConditionCheckSVar$ PermanentsToSac | ConditionSVarCompare$ GTY | SubAbility$ DBSacrificePerm SVar:DBSacrificePerm:DB$Sacrifice | Amount$ PermanentsToSac | SacValid$ Permanent.nontoken | References$ PermanentsToSac | ConditionCheckSVar$ PermanentsToSac | ConditionSVarCompare$ LEY SVar:PermanentsToSac:TriggerCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/l/living_artifact.txt b/forge-gui/res/cardsfolder/l/living_artifact.txt index 84c772d9..ce37db10 100644 --- a/forge-gui/res/cardsfolder/l/living_artifact.txt +++ b/forge-gui/res/cardsfolder/l/living_artifact.txt @@ -3,7 +3,7 @@ ManaCost:G Types:Enchantment Aura K:Enchant artifact A:SP$ Attach | Cost$ G | ValidTgts$ Artifact | AILogic$ Pump -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you're dealt damage, put that many vitality counters on CARDNAME. +T:Mode$ DamageDoneOnce | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you're dealt damage, put that many vitality counters on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ VITALITY | CounterNum$ X | References$ X SVar:X:TriggerCount$DamageAmount T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | IsPresent$ Card.Self+counters_GE1_VITALITY | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may remove a vitality counter from CARDNAME. If you do, you gain 1 life. diff --git a/forge-gui/res/cardsfolder/m/mire_blight.txt b/forge-gui/res/cardsfolder/m/mire_blight.txt index 449b28f5..1a2b18e5 100644 --- a/forge-gui/res/cardsfolder/m/mire_blight.txt +++ b/forge-gui/res/cardsfolder/m/mire_blight.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ B | ValidTgts$ Creature | AILogic$ Curse S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddSVar$ MireDestroy SVar:MireDestroy:SVar:DestroyWhenDamaged:True -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Creature.EnchantedBy | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ When enchanted creature is dealt damage, destroy it. +T:Mode$ DamageDoneOnce | ValidTarget$ Creature.EnchantedBy | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ When enchanted creature is dealt damage, destroy it. SVar:TrigDestroy:DB$ Destroy | Defined$ TriggeredTarget SVar:NonStackingAttachEffect:True SVar:Picture:http://www.wizards.com/global/images/magic/general/mire_blight.jpg diff --git a/forge-gui/res/cardsfolder/m/mogg_maniac.txt b/forge-gui/res/cardsfolder/m/mogg_maniac.txt index 6856f07e..5584bd14 100644 --- a/forge-gui/res/cardsfolder/m/mogg_maniac.txt +++ b/forge-gui/res/cardsfolder/m/mogg_maniac.txt @@ -2,7 +2,7 @@ Name:Mogg Maniac ManaCost:1 R Types:Creature Goblin PT:1/1 -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to target opponent. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to target opponent. SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumDmg$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/m/mortal_wound.txt b/forge-gui/res/cardsfolder/m/mortal_wound.txt index 655daaa3..61ed5987 100644 --- a/forge-gui/res/cardsfolder/m/mortal_wound.txt +++ b/forge-gui/res/cardsfolder/m/mortal_wound.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ G | ValidTgts$ Creature | AILogic$ Curse S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddSVar$ MortalDestroy SVar:MortalDestroy:SVar:DestroyWhenDamaged:True -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Creature.EnchantedBy | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ When enchanted creature is dealt damage, destroy it. +T:Mode$ DamageDoneOnce | ValidTarget$ Creature.EnchantedBy | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ When enchanted creature is dealt damage, destroy it. SVar:TrigDestroy:DB$ Destroy | Defined$ TriggeredTarget SVar:NonStackingAttachEffect:True SVar:Picture:http://www.wizards.com/global/images/magic/general/mortal_wound.jpg diff --git a/forge-gui/res/cardsfolder/m/mourning_thrull.txt b/forge-gui/res/cardsfolder/m/mourning_thrull.txt index 124a2bb5..6a1c4611 100644 --- a/forge-gui/res/cardsfolder/m/mourning_thrull.txt +++ b/forge-gui/res/cardsfolder/m/mourning_thrull.txt @@ -3,7 +3,7 @@ ManaCost:1 WB Types:Creature Thrull PT:1/1 K:Flying -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/n/necravolver.txt b/forge-gui/res/cardsfolder/n/necravolver.txt index e3d01d46..37d86240 100644 --- a/forge-gui/res/cardsfolder/n/necravolver.txt +++ b/forge-gui/res/cardsfolder/n/necravolver.txt @@ -9,7 +9,7 @@ SVar:VolverStomp:DB$ Pump | Defined$ Self | KW$ Trample | Permanent$ True T:Mode$ ChangesZone | ValidCard$ Card.Self+kicked 2 | Origin$ Any | Destination$ Battlefield | Execute$ VolverPumped2 | Static$ True | TriggerDescription$ If CARDNAME was kicked with its {W} kicker, it enters the battlefield with a +1/+1 counter on it and with "Whenever CARDNAME deals damage, you gain that much life." SVar:VolverPumped2:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ VolverLife SVar:VolverLife:DB$ Animate | Defined$ Self | Triggers$ PseudoLifelink | sVars$ VolverTrigGain,VolverX | Permanent$ True -SVar:PseudoLifelink:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ VolverTrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +SVar:PseudoLifelink:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ VolverTrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:VolverTrigGain:DB$ GainLife | Defined$ You | LifeAmount$ VolverX | References$ VolverX SVar:VolverX:TriggerCount$DamageAmount SVar:RemRandomDeck:True diff --git a/forge-gui/res/cardsfolder/p/paladin_of_prahv.txt b/forge-gui/res/cardsfolder/p/paladin_of_prahv.txt index cba1a130..7da26058 100644 --- a/forge-gui/res/cardsfolder/p/paladin_of_prahv.txt +++ b/forge-gui/res/cardsfolder/p/paladin_of_prahv.txt @@ -2,7 +2,7 @@ Name:Paladin of Prahv ManaCost:4 W W Types:Creature Human Knight PT:3/4 -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount A:AB$ Effect | Cost$ 1 W | Name$ Paladin of Prahv Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigDamage | SVars$ TrigGain,X | RememberObjects$ Targeted | ActivationZone$ Hand | ActivationLimit$ 1 | PlayerTurn$ True | ActivationPhases$ Upkeep | PrecostDesc$ Forecast — | CostDesc$ {1}{W}, Reveal CARDNAME from your hand: | SpellDescription$ Whenever target creature deals damage this turn, you gain that much life. (Activate this ability only during your upkeep and only once each turn.) diff --git a/forge-gui/res/cardsfolder/p/phantom_nishoba.txt b/forge-gui/res/cardsfolder/p/phantom_nishoba.txt index bfaf6b56..a2555457 100644 --- a/forge-gui/res/cardsfolder/p/phantom_nishoba.txt +++ b/forge-gui/res/cardsfolder/p/phantom_nishoba.txt @@ -4,7 +4,7 @@ Types:Creature Cat Beast Spirit PT:0/0 K:etbCounter:P1P1:7 K:Trample -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ DBRemoveCounters | PreventionEffect$ True | Description$ If damage would be dealt to CARDNAME, prevent that damage. Remove a +1/+1 counter from CARDNAME. diff --git a/forge-gui/res/cardsfolder/p/phyrexian_negator.txt b/forge-gui/res/cardsfolder/p/phyrexian_negator.txt index 1139bbe5..252e1899 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_negator.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_negator.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Creature Horror PT:5/5 K:Trample -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | Execute$ TrigSac | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, sacrifice that many permanents. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigSac | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, sacrifice that many permanents. SVar:TrigSac:DB$ Sacrifice | Amount$ X | SacValid$ Permanent | References$ X SVar:X:TriggerCount$DamageAmount SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/p/phyrexian_totem.txt b/forge-gui/res/cardsfolder/p/phyrexian_totem.txt index daebb366..413602d7 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_totem.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_totem.txt @@ -3,7 +3,7 @@ ManaCost:3 Types:Artifact A:AB$ Mana | Cost$ T | Produced$ B | Amount$ 1 | SpellDescription$ Add {B} to your mana pool. A:AB$ Animate | Cost$ 2 B | Defined$ Self | Power$ 5 | Toughness$ 5 | Types$ Creature,Artifact,Horror | Colors$ Black | Keywords$ Trample | SpellDescription$ CARDNAME becomes a 5/5 black Horror artifact creature with trample until end of turn. -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Creature.Self | Execute$ TrigSac | TriggerDescription$ Whenever CARDNAME is dealt damage, if it's a creature, sacrifice that many permanents. +T:Mode$ DamageDoneOnce | ValidTarget$ Creature.Self | Execute$ TrigSac | TriggerDescription$ Whenever CARDNAME is dealt damage, if it's a creature, sacrifice that many permanents. SVar:TrigSac:AB$Sacrifice | Cost$ 0 | SacValid$ Permanent | Amount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/p/putrid_warrior.txt b/forge-gui/res/cardsfolder/p/putrid_warrior.txt index 5d175cb0..b0f52121 100644 --- a/forge-gui/res/cardsfolder/p/putrid_warrior.txt +++ b/forge-gui/res/cardsfolder/p/putrid_warrior.txt @@ -2,7 +2,7 @@ Name:Putrid Warrior ManaCost:W B Types:Creature Zombie Soldier Warrior PT:2/2 -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigCharm | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, ABILITY +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigCharm | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, ABILITY SVar:TrigCharm:DB$ Charm | Choices$ SVar1,SVar2 SVar:SVar1:DB$ LoseLife | Defined$ Player | LifeAmount$ 1 | SpellDescription$ Each player loses 1 life. SVar:SVar2:DB$ GainLife | Defined$ Player | LifeAmount$ 1 | SpellDescription$ Each player gains 1 life. diff --git a/forge-gui/res/cardsfolder/r/ragged_veins.txt b/forge-gui/res/cardsfolder/r/ragged_veins.txt index f3b2f3ff..9178146b 100644 --- a/forge-gui/res/cardsfolder/r/ragged_veins.txt +++ b/forge-gui/res/cardsfolder/r/ragged_veins.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Flash K:Enchant creature A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | AILogic$ Curse -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever enchanted creature is dealt damage, its controller loses that much life. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever enchanted creature is dealt damage, its controller loses that much life. SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredTargetController | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/ragged_veins.jpg diff --git a/forge-gui/res/cardsfolder/r/rakavolver.txt b/forge-gui/res/cardsfolder/r/rakavolver.txt index 7a55c7fb..81e7acc7 100644 --- a/forge-gui/res/cardsfolder/r/rakavolver.txt +++ b/forge-gui/res/cardsfolder/r/rakavolver.txt @@ -6,7 +6,7 @@ K:Kicker:1 W:U T:Mode$ ChangesZone | ValidCard$ Card.Self+kicked 1 | Origin$ Any | Destination$ Battlefield | Execute$ VolverStrength | Static$ True | TriggerDescription$ If CARDNAME was kicked with its {1}{W} kicker, it enters the battlefield with two +1/+1 counters on it and with "Whenever CARDNAME deals damage, you gain that much life." SVar:VolverStrength:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 2 | SubAbility$ VolverLife SVar:VolverLife:DB$ Animate | Defined$ Self | Triggers$ PseudoLifelink | sVars$ VolverTrigGain,VolverX | Permanent$ True -SVar:PseudoLifelink:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ VolverTrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +SVar:PseudoLifelink:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ VolverTrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:VolverTrigGain:DB$ GainLife | Defined$ You | LifeAmount$ VolverX | References$ VolverX SVar:VolverX:TriggerCount$DamageAmount T:Mode$ ChangesZone | ValidCard$ Card.Self+kicked 2 | Origin$ Any | Destination$ Battlefield | Execute$ VolverPumped | Static$ True | TriggerDescription$ If CARDNAME was kicked with its {U} kicker, it enters the battlefield with a +1/+1 counter on it and with flying. diff --git a/forge-gui/res/cardsfolder/r/ranging_raptors.txt b/forge-gui/res/cardsfolder/r/ranging_raptors.txt index 9c8f76ff..bc6f9684 100644 --- a/forge-gui/res/cardsfolder/r/ranging_raptors.txt +++ b/forge-gui/res/cardsfolder/r/ranging_raptors.txt @@ -2,7 +2,7 @@ Name:Ranging Raptors ManaCost:2 G Types:Creature Dinosaur PT:2/3 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigSearchLand | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, you may search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. +T:Mode$ DamageDoneOnce | Execute$ TrigSearchLand | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, you may search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library. SVar:TrigSearchLand:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ 1 | Tapped$ True | ShuffleNonMandatory$ TrueS SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/ranging_raptors.jpg diff --git a/forge-gui/res/cardsfolder/r/raptor_hatchling.txt b/forge-gui/res/cardsfolder/r/raptor_hatchling.txt index ea8768d4..5395a294 100644 --- a/forge-gui/res/cardsfolder/r/raptor_hatchling.txt +++ b/forge-gui/res/cardsfolder/r/raptor_hatchling.txt @@ -2,7 +2,7 @@ Name:Raptor Hatchling ManaCost:1 R Types:Creature Dinosaur PT:1/1 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever Raptor Hatchling is dealt damage, create a 3/3 green Dinosaur creature token with trample. +T:Mode$ DamageDoneOnce | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever Raptor Hatchling is dealt damage, create a 3/3 green Dinosaur creature token with trample. SVar:TrigToken:DB$ Token | TokenOwner$ You | TokenName$ Dinosaur | TokenColors$ Green | TokenTypes$ Creature,Dinosaur | TokenPower$ 3 | TokenToughness$ 3 | TokenKeywords$ Trample | TokenImage$ g 3 3 dinosaur | TokenAmount$ 1 SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/raptor_hatchling.jpg diff --git a/forge-gui/res/cardsfolder/r/ravenous_daggertooth.txt b/forge-gui/res/cardsfolder/r/ravenous_daggertooth.txt index b069a090..08e05366 100644 --- a/forge-gui/res/cardsfolder/r/ravenous_daggertooth.txt +++ b/forge-gui/res/cardsfolder/r/ravenous_daggertooth.txt @@ -2,7 +2,7 @@ Name:Ravenous Daggertooth ManaCost:2 G Types:Creature Dinosaur PT:3/2 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigGainLife | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, you gain 2 life. +T:Mode$ DamageDoneOnce | Execute$ TrigGainLife | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, you gain 2 life. SVar:TrigGainLife:DB$ GainLife | LifeAmount$ 2 SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/ravenous_daggertooth.jpg diff --git a/forge-gui/res/cardsfolder/r/repercussion.txt b/forge-gui/res/cardsfolder/r/repercussion.txt index 5001c4b7..f0583d6e 100644 --- a/forge-gui/res/cardsfolder/r/repercussion.txt +++ b/forge-gui/res/cardsfolder/r/repercussion.txt @@ -1,7 +1,7 @@ Name:Repercussion ManaCost:1 R R Types:Enchantment -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Creature | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever a creature is dealt damage, CARDNAME deals that much damage to that creature's controller. +T:Mode$ DamageDoneOnce | ValidTarget$ Creature | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever a creature is dealt damage, CARDNAME deals that much damage to that creature's controller. SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredTargetController | NumDmg$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:RemRandomDeck:True diff --git a/forge-gui/res/cardsfolder/r/ripjaw_raptor.txt b/forge-gui/res/cardsfolder/r/ripjaw_raptor.txt index e43241da..66bf6983 100644 --- a/forge-gui/res/cardsfolder/r/ripjaw_raptor.txt +++ b/forge-gui/res/cardsfolder/r/ripjaw_raptor.txt @@ -2,7 +2,7 @@ Name:Ripjaw Raptor ManaCost:2 G G Types:Creature Dinosaur PT:4/5 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigDraw | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, draw a card. +T:Mode$ DamageDoneOnce | Execute$ TrigDraw | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, draw a card. SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/ripjaw_raptor.jpg diff --git a/forge-gui/res/cardsfolder/r/rite_of_passage.txt b/forge-gui/res/cardsfolder/r/rite_of_passage.txt index fe3c8b66..3485a687 100644 --- a/forge-gui/res/cardsfolder/r/rite_of_passage.txt +++ b/forge-gui/res/cardsfolder/r/rite_of_passage.txt @@ -1,7 +1,7 @@ Name:Rite of Passage ManaCost:2 G Types:Enchantment -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a creature you control is dealt damage, put a +1/+1 counter on it. (The damage is dealt before the counter is put on.) +T:Mode$ DamageDoneOnce | ValidTarget$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a creature you control is dealt damage, put a +1/+1 counter on it. (The damage is dealt before the counter is put on.) SVar:TrigPutCounter:DB$ PutCounter | Defined$ TriggeredTarget | CounterType$ P1P1 | CounterNum$ 1 SVar:Picture:http://www.wizards.com/global/images/magic/general/rite_of_passage.jpg Oracle:Whenever a creature you control is dealt damage, put a +1/+1 counter on it. (The damage is dealt before the counter is put on.) diff --git a/forge-gui/res/cardsfolder/s/saber_ants.txt b/forge-gui/res/cardsfolder/s/saber_ants.txt index 68e913d4..7b70e432 100644 --- a/forge-gui/res/cardsfolder/s/saber_ants.txt +++ b/forge-gui/res/cardsfolder/s/saber_ants.txt @@ -2,7 +2,7 @@ Name:Saber Ants ManaCost:3 G Types:Creature Insect PT:2/3 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME is dealt damage, you may create that many 1/1 green Insect creature tokens. +T:Mode$ DamageDoneOnce | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME is dealt damage, you may create that many 1/1 green Insect creature tokens. SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenName$ Insect | TokenTypes$ Creature,Insect | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/s/shinka_gatekeeper.txt b/forge-gui/res/cardsfolder/s/shinka_gatekeeper.txt index a168056f..9a35bdd9 100644 --- a/forge-gui/res/cardsfolder/s/shinka_gatekeeper.txt +++ b/forge-gui/res/cardsfolder/s/shinka_gatekeeper.txt @@ -2,7 +2,7 @@ Name:Shinka Gatekeeper ManaCost:2 R Types:Creature Ogre Warrior PT:3/2 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you. +T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you. SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ You | References$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/shinka_gatekeeper.jpg diff --git a/forge-gui/res/cardsfolder/s/shriveling_rot.txt b/forge-gui/res/cardsfolder/s/shriveling_rot.txt index e07605eb..5a9ca2bf 100644 --- a/forge-gui/res/cardsfolder/s/shriveling_rot.txt +++ b/forge-gui/res/cardsfolder/s/shriveling_rot.txt @@ -5,7 +5,7 @@ K:Entwine:2 B A:SP$ Charm | Cost$ 2 B B | Choices$ DBEffect,DBEffect2 | CharmNum$ 1 SVar:DBEffect:DB$ Effect | Name$ Shriveling Rot Effect | Triggers$ Trig1 | SVars$ SVar1 | SpellDescription$ Until end of turn, whenever a creature is dealt damage, destroy it. SVar:DBEffect2:DB$ Effect | Name$ Shriveling Rot Effect 2 | Triggers$ Trig2 | SVars$ SVar2,X | SpellDescription$ Until end of turn, whenever a creature dies, that creature's controller loses life equal to its toughness. -SVar:Trig1:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Creature | Execute$ SVar1 | TriggerDescription$ Whenever a creature is dealt damage, destroy it. +SVar:Trig1:Mode$ DamageDoneOnce | ValidTarget$ Creature | Execute$ SVar1 | TriggerDescription$ Whenever a creature is dealt damage, destroy it. SVar:SVar1:DB$ Destroy | Defined$ TriggeredTarget SVar:Trig2:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature | Execute$ SVar2 | TriggerDescription$ Whenever a creature dies, that creature's controller loses life equal to its toughness. SVar:SVar2:DB$ LoseLife | Defined$ TriggeredCardController | LifeAmount$ X | References$ X diff --git a/forge-gui/res/cardsfolder/s/soul_link.txt b/forge-gui/res/cardsfolder/s/soul_link.txt index fa4b032b..ecbe40be 100644 --- a/forge-gui/res/cardsfolder/s/soul_link.txt +++ b/forge-gui/res/cardsfolder/s/soul_link.txt @@ -3,8 +3,8 @@ ManaCost:1 W B Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 W B | ValidTgts$ Creature | AILogic$ Pump -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature is dealt damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature is dealt 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/soul_link.jpg diff --git a/forge-gui/res/cardsfolder/s/spirit_link.txt b/forge-gui/res/cardsfolder/s/spirit_link.txt index a35c19b0..77b294d0 100644 --- a/forge-gui/res/cardsfolder/s/spirit_link.txt +++ b/forge-gui/res/cardsfolder/s/spirit_link.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ W | ValidTgts$ Creature | AILogic$ Pump -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals 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/spirit_link.jpg diff --git a/forge-gui/res/cardsfolder/s/spirit_loop.txt b/forge-gui/res/cardsfolder/s/spirit_loop.txt index a43baa21..5e5c0c96 100644 --- a/forge-gui/res/cardsfolder/s/spirit_loop.txt +++ b/forge-gui/res/cardsfolder/s/spirit_loop.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Enchantment Aura K:Enchant creature you control A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | AILogic$ Pump -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand. diff --git a/forge-gui/res/cardsfolder/s/spiritualize.txt b/forge-gui/res/cardsfolder/s/spiritualize.txt index 4d5d834d..3fb33930 100644 --- a/forge-gui/res/cardsfolder/s/spiritualize.txt +++ b/forge-gui/res/cardsfolder/s/spiritualize.txt @@ -2,7 +2,7 @@ Name:Spiritualize ManaCost:2 W Types:Instant A:SP$ Effect | Cost$ 2 W | Name$ Spiritualize Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigDamage | SVars$ TrigGainLife,X | References$ TrigGainLife,X | RememberObjects$ Targeted | SubAbility$ DBDraw | SpellDescription$ Until end of turn, whenever target creature deals damage, you gain that much life. Draw a card. -SVar:TrigDamage:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Creature.IsRemembered | Execute$ TrigGainLife | TriggerDescription$ Whenever the targeted creature of Spiritualize deals damage, you gain that much life. +SVar:TrigDamage:Mode$ DamageDoneOnce | ValidSource$ Creature.IsRemembered | Execute$ TrigGainLife | TriggerDescription$ Whenever the targeted creature of Spiritualize deals damage, you gain that much life. SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | References$ X | Defined$ You SVar:DBDraw:DB$ Draw | NumCards$ 1 SVar:X:TriggerCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/s/spiteful_shadows.txt b/forge-gui/res/cardsfolder/s/spiteful_shadows.txt index e57f45b0..13cbacf1 100644 --- a/forge-gui/res/cardsfolder/s/spiteful_shadows.txt +++ b/forge-gui/res/cardsfolder/s/spiteful_shadows.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | AILogic$ Curse -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever enchanted creature is dealt damage, it deals that much damage to its controller. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever enchanted creature is dealt damage, it deals that much damage to its controller. SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredTargetController | NumDmg$ X | References$ X | DamageSource$ TriggeredTarget SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/spiteful_shadows.jpg diff --git a/forge-gui/res/cardsfolder/s/spitemare.txt b/forge-gui/res/cardsfolder/s/spitemare.txt index 84aed49f..7e3131f8 100644 --- a/forge-gui/res/cardsfolder/s/spitemare.txt +++ b/forge-gui/res/cardsfolder/s/spitemare.txt @@ -2,7 +2,7 @@ Name:Spitemare ManaCost:2 RW RW Types:Creature Elemental PT:3/3 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to target creature or player. +T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to target creature or player. SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | References$ X | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/s/sprouting_phytohydra.txt b/forge-gui/res/cardsfolder/s/sprouting_phytohydra.txt index 0d75b420..2edfb4d5 100644 --- a/forge-gui/res/cardsfolder/s/sprouting_phytohydra.txt +++ b/forge-gui/res/cardsfolder/s/sprouting_phytohydra.txt @@ -3,7 +3,7 @@ ManaCost:4 G Types:Creature Plant Hydra PT:0/2 K:Defender -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | Execute$ TrigCopy | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME is dealt damage, you may create a token that's a copy of Sprouting CARDNAME. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigCopy | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME is dealt damage, you may create a token that's a copy of Sprouting CARDNAME. SVar:TrigCopy:DB$ CopyPermanent | Defined$ Self SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/sprouting_phytohydra.jpg diff --git a/forge-gui/res/cardsfolder/s/stir_the_pride.txt b/forge-gui/res/cardsfolder/s/stir_the_pride.txt index 388ebb1e..5738f577 100644 --- a/forge-gui/res/cardsfolder/s/stir_the_pride.txt +++ b/forge-gui/res/cardsfolder/s/stir_the_pride.txt @@ -5,7 +5,7 @@ K:Entwine:1 W A:SP$ Charm | Cost$ 4 W | Choices$ DBPumpAll,DBAnimateAll | CharmNum$ 1 SVar:DBPumpAll:DB$ PumpAll | NumAtt$ 2 | NumDef$ 2 | ValidCards$ Creature.YouCtrl | SpellDescription$ Creatures you control get +2/+2 until end of turn. SVar:DBAnimateAll:DB$ AnimateAll | ValidCards$ Creature.YouCtrl | Triggers$ TrigPrideDamage | sVars$ GainLife,GainLifeX | References$ GainLife,GainLifeX | SpellDescription$ Until end of turn, creatures you control gain "Whenever this creature deals damage, you gain that much life." -SVar:TrigPrideDamage:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ GainLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +SVar:TrigPrideDamage:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ GainLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:GainLife:DB$ GainLife | LifeAmount$ GainLifeX | References$ GainLifeX SVar:GainLifeX:TriggerCount$DamageAmount SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/s/stuffy_doll.txt b/forge-gui/res/cardsfolder/s/stuffy_doll.txt index 6663ba76..b1b4926f 100644 --- a/forge-gui/res/cardsfolder/s/stuffy_doll.txt +++ b/forge-gui/res/cardsfolder/s/stuffy_doll.txt @@ -6,7 +6,7 @@ K:Indestructible K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose a player. A:AB$ DealDamage | Cost$ T | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to itself. -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to the chosen player. +T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to the chosen player. SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | References$ X | Defined$ ChosenPlayer SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/s/sun_crowned_hunters.txt b/forge-gui/res/cardsfolder/s/sun_crowned_hunters.txt index 93d948b7..faf7c3a2 100644 --- a/forge-gui/res/cardsfolder/s/sun_crowned_hunters.txt +++ b/forge-gui/res/cardsfolder/s/sun_crowned_hunters.txt @@ -2,7 +2,7 @@ Name:Sun-Crowned Hunters ManaCost:4 R R Types:Creature Dinosaur PT:5/4 -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ DealDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, it deals 3 damage to target opponent. +T:Mode$ DamageDoneOnce | Execute$ DealDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, it deals 3 damage to target opponent. SVar:DealDamage:DB$ DealDamage | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumDmg$ 3 SVar:HasCombatEffect:TRUE SVar:Picture:http://mythicspoiler.com/ixa/cards/suncrownedhunters.jpg diff --git a/forge-gui/res/cardsfolder/s/sun_droplet.txt b/forge-gui/res/cardsfolder/s/sun_droplet.txt index 891e93ab..bca401f4 100644 --- a/forge-gui/res/cardsfolder/s/sun_droplet.txt +++ b/forge-gui/res/cardsfolder/s/sun_droplet.txt @@ -1,7 +1,7 @@ Name:Sun Droplet ManaCost:2 Types:Artifact -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you're dealt damage, put that many charge counters on CARDNAME. +T:Mode$ DamageDoneOnce | ValidTarget$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you're dealt damage, put that many charge counters on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | IsPresent$ Card.Self+counters_GE1_CHARGE | Execute$ TrigGainLife | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of each upkeep, you may remove a charge counter from CARDNAME. If you do, you gain 1 life. SVar:TrigPutCounter:DB$ PutCounter | CounterType$ CHARGE | CounterNum$ X | References$ X | Defined$ Self SVar:TrigGainLife:AB$ GainLife | Cost$ SubCounter<1/CHARGE> | LifeAmount$ 1 | Defined$ You diff --git a/forge-gui/res/cardsfolder/t/tamanoa.txt b/forge-gui/res/cardsfolder/t/tamanoa.txt index fe1083bf..b339c2aa 100644 --- a/forge-gui/res/cardsfolder/t/tamanoa.txt +++ b/forge-gui/res/cardsfolder/t/tamanoa.txt @@ -2,7 +2,7 @@ Name:Tamanoa ManaCost:R G W Types:Creature Spirit PT:2/4 -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.nonCreature+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a noncreature source you control deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.nonCreature+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a noncreature source you control deals damage, you gain that much life. SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount Svar:Rarity:Rare diff --git a/forge-gui/res/cardsfolder/t/thrashing_mudspawn.txt b/forge-gui/res/cardsfolder/t/thrashing_mudspawn.txt index 53ed4d8f..3ae823ad 100644 --- a/forge-gui/res/cardsfolder/t/thrashing_mudspawn.txt +++ b/forge-gui/res/cardsfolder/t/thrashing_mudspawn.txt @@ -2,7 +2,7 @@ Name:Thrashing Mudspawn ManaCost:3 B B Types:Creature Beast PT:4/4 -T:Mode$ DamageDone | OnlyOnce$ True | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you lose that much life. +T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you lose that much life. SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount K:Morph:1 B B diff --git a/forge-gui/res/cardsfolder/v/vampiric_link.txt b/forge-gui/res/cardsfolder/v/vampiric_link.txt index 8fa0806b..63c37aad 100644 --- a/forge-gui/res/cardsfolder/v/vampiric_link.txt +++ b/forge-gui/res/cardsfolder/v/vampiric_link.txt @@ -3,7 +3,7 @@ ManaCost:B Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ B | ValidTgts$ Creature | AILogic$ Pump -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals 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/vampiric_link.jpg diff --git a/forge-gui/res/cardsfolder/v/visions_of_brutality.txt b/forge-gui/res/cardsfolder/v/visions_of_brutality.txt index 118a06e6..69e976ad 100644 --- a/forge-gui/res/cardsfolder/v/visions_of_brutality.txt +++ b/forge-gui/res/cardsfolder/v/visions_of_brutality.txt @@ -5,7 +5,7 @@ K:Devoid K:Enchant creature A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | AILogic$ Curse S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME can't block. | Description$ Enchanted creature can't block. -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.AttachedBy | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, its controller loses that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.AttachedBy | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, its controller loses that much life. SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredSourceController | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/visions_of_brutality.jpg diff --git a/forge-gui/res/cardsfolder/v/volatile_rig.txt b/forge-gui/res/cardsfolder/v/volatile_rig.txt index a9be9b1b..310071da 100644 --- a/forge-gui/res/cardsfolder/v/volatile_rig.txt +++ b/forge-gui/res/cardsfolder/v/volatile_rig.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Construct PT:4/4 K:Trample K:CARDNAME attacks each turn if able. -T:Mode$ DamageDone | OnlyOnce$ True | Execute$ TrigFlipSac | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, flip a coin. If you lose the flip, sacrifice CARDNAME. +T:Mode$ DamageDoneOnce | Execute$ TrigFlipSac | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, flip a coin. If you lose the flip, sacrifice CARDNAME. SVar:TrigFlipSac:DB$ FlipACoin | LoseSubAbility$ DBSacrifice SVar:DBSacrifice:DB$ Sacrifice | Defined$ Self T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigFlipDamage | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, flip a coin. If you lose the flip, it deals 4 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/w/wall_of_hope.txt b/forge-gui/res/cardsfolder/w/wall_of_hope.txt index 9c7e3221..d859d31f 100644 --- a/forge-gui/res/cardsfolder/w/wall_of_hope.txt +++ b/forge-gui/res/cardsfolder/w/wall_of_hope.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Creature Wall PT:0/3 K:Defender -T:Mode$ DamageDone | OnlyOnce$ True | DamageSource$ Any | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you gain that much life. +T:Mode$ DamageDoneOnce | DamageSource$ Any | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you gain that much life. SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/w/war_elemental.txt b/forge-gui/res/cardsfolder/w/war_elemental.txt index c60d66c9..8f798c83 100644 --- a/forge-gui/res/cardsfolder/w/war_elemental.txt +++ b/forge-gui/res/cardsfolder/w/war_elemental.txt @@ -5,7 +5,7 @@ PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless an opponent was dealt damage this turn. SVar:TrigSac:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ WarElementalX | ConditionSVarCompare$ EQ0 | References$ WarElementalX SVar:WarElementalX:Count$TotalOppDamageThisTurn -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card | ValidTarget$ Opponent | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever an opponent is dealt damage, put that many +1/+1 counters on CARDNAME. +T:Mode$ DamageDoneOnce | ValidSource$ Card | ValidTarget$ Opponent | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever an opponent is dealt damage, put that many +1/+1 counters on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ WarElementalY | References$ WarElementalY SVar:WarElementalY:TriggerCount$DamageAmount SVar:NeedsToPlayVar:WarElementalX GE1 diff --git a/forge-gui/res/cardsfolder/w/warrior_angel.txt b/forge-gui/res/cardsfolder/w/warrior_angel.txt index 91d44ace..2cb240a4 100644 --- a/forge-gui/res/cardsfolder/w/warrior_angel.txt +++ b/forge-gui/res/cardsfolder/w/warrior_angel.txt @@ -3,7 +3,7 @@ ManaCost:4 W W Types:Creature Angel Warrior PT:3/4 K:Flying -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/z/zebra_unicorn.txt b/forge-gui/res/cardsfolder/z/zebra_unicorn.txt index 9466e1e3..0457ff50 100644 --- a/forge-gui/res/cardsfolder/z/zebra_unicorn.txt +++ b/forge-gui/res/cardsfolder/z/zebra_unicorn.txt @@ -2,7 +2,7 @@ Name:Zebra Unicorn ManaCost:2 G W Types:Creature Unicorn PT:2/2 -T:Mode$ DamageDone | OnlyOnce$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. +T:Mode$ DamageDoneOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE