diff --git a/forge-gui/res/cardsfolder/a/ana_sanctuary.txt b/forge-gui/res/cardsfolder/a/ana_sanctuary.txt index b87cdf98185..49bb84481bc 100644 --- a/forge-gui/res/cardsfolder/a/ana_sanctuary.txt +++ b/forge-gui/res/cardsfolder/a/ana_sanctuary.txt @@ -1,11 +1,12 @@ Name:Ana Sanctuary ManaCost:2 G Types:Enchantment -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | Execute$ TrigPump | TriggerDescription$ At the beginning of your upkeep, if you control a blue or black permanent, target creature gets +1/+1 until end of turn. If you control a blue permanent and a black permanent, that creature gets +5/+5 until end of turn instead. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature to pump | NumAtt$ 1 | NumDef$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ 5 | NumDef$ 5 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Permanent.YouCtrl+Blue,Permanent.YouCtrl+Black | Execute$ TrigPump | TriggerDescription$ At the beginning of your upkeep, if you control a blue or black permanent, target creature gets +1/+1 until end of turn. If you control a blue permanent and a black permanent, that creature gets +5/+5 until end of turn instead. +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | NumAtt$ P | NumDef$ P SVar:Y:Count$Valid Permanent.Blue+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Black+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z +SVar:P:Count$Compare X EQ2.5.1 +DeckHints:Color$Blue|Black AI:RemoveDeck:Random Oracle:At the beginning of your upkeep, if you control a blue or black permanent, target creature gets +1/+1 until end of turn. If you control a blue permanent and a black permanent, that creature gets +5/+5 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/c/ceta_sanctuary.txt b/forge-gui/res/cardsfolder/c/ceta_sanctuary.txt index dc48bc0864e..45e535e0fcf 100644 --- a/forge-gui/res/cardsfolder/c/ceta_sanctuary.txt +++ b/forge-gui/res/cardsfolder/c/ceta_sanctuary.txt @@ -1,13 +1,14 @@ Name:Ceta Sanctuary ManaCost:2 U Types:Enchantment -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigDraw | TriggerDescription$ At the beginning of your upkeep, if you control a red or green permanent, draw a card, then discard a card. If you control a red permanent and a green permanent, instead draw two cards, then discard a card. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | NumCards$ 1 +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Permanent.YouCtrl+Red,Permanent.YouCtrl+Green | Execute$ TrigDraw | TriggerDescription$ At the beginning of your upkeep, if you control a red or green permanent, draw a card, then discard a card. If you control a red permanent and a green permanent, instead draw two cards, then discard a card. +SVar:TrigDraw:DB$ Draw | NumCards$ C | SubAbility$ DBDiscard +SVar:DBDiscard:DB$ Discard | Mode$ TgtChoose SVar:Y:Count$Valid Permanent.Red+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Green+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z -AI:RemoveDeck:Random +SVar:C:Count$Compare X EQ2.2.1 +DeckHas:Ability$Discard DeckHints:Color$Red|Green +AI:RemoveDeck:Random Oracle:At the beginning of your upkeep, if you control a red or green permanent, draw a card, then discard a card. If you control a red permanent and a green permanent, instead draw two cards, then discard a card. diff --git a/forge-gui/res/cardsfolder/d/dark_temper.txt b/forge-gui/res/cardsfolder/d/dark_temper.txt index 37f8cc35dc7..7c59e479d9c 100644 --- a/forge-gui/res/cardsfolder/d/dark_temper.txt +++ b/forge-gui/res/cardsfolder/d/dark_temper.txt @@ -1,7 +1,7 @@ Name:Dark Temper ManaCost:2 R Types:Instant -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Creature | NumDmg$ 2 | SubAbility$ DBDestroy | ConditionPresent$ Permanent.Black+YouCtrl | ConditionCompare$ EQ0 | SpellDescription$ CARDNAME deals 2 damage to target creature. If you control a black permanent, destroy the creature instead. +A:SP$ DealDamage | ValidTgts$ Creature | NumDmg$ 2 | SubAbility$ DBDestroy | ConditionPresent$ Permanent.Black+YouCtrl | ConditionCompare$ EQ0 | SpellDescription$ CARDNAME deals 2 damage to target creature. If you control a black permanent, destroy the creature instead. SVar:DBDestroy:DB$ Destroy | Defined$ Targeted | ConditionPresent$ Permanent.Black+YouCtrl | ConditionCompare$ GE1 | ConditionDescription$ If you control a black permanent, DeckHints:Color$Black AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/dega_sanctuary.txt b/forge-gui/res/cardsfolder/d/dega_sanctuary.txt index e0dd7230eda..61cf2a3dd30 100644 --- a/forge-gui/res/cardsfolder/d/dega_sanctuary.txt +++ b/forge-gui/res/cardsfolder/d/dega_sanctuary.txt @@ -1,12 +1,13 @@ Name:Dega Sanctuary ManaCost:2 W Types:Enchantment -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your upkeep, if you control a black or red permanent, you gain 2 life. If you control a black permanent and a red permanent, you gain 4 life instead. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Permanent.YouCtrl+Black,Permanent.YouCtrl+Red | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your upkeep, if you control a black or red permanent, you gain 2 life. If you control a black permanent and a red permanent, you gain 4 life instead. +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ L SVar:Y:Count$Valid Permanent.Black+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Red+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z -AI:RemoveDeck:Random +SVar:L:Count$Compare X EQ2.4.2 +DeckHas:Ability$LifeGain DeckHints:Color$Black|Red +AI:RemoveDeck:Random Oracle:At the beginning of your upkeep, if you control a black or red permanent, you gain 2 life. If you control a black permanent and a red permanent, you gain 4 life instead. diff --git a/forge-gui/res/cardsfolder/g/gideons_triumph.txt b/forge-gui/res/cardsfolder/g/gideons_triumph.txt index a525259620b..2198667effa 100644 --- a/forge-gui/res/cardsfolder/g/gideons_triumph.txt +++ b/forge-gui/res/cardsfolder/g/gideons_triumph.txt @@ -1,7 +1,8 @@ Name:Gideon's Triumph ManaCost:1 W Types:Instant -A:SP$ Sacrifice | Cost$ 1 W | ValidTgts$ Opponent | SacValid$ Creature.attackedThisTurn,Creature.blockedThisTurn | SacMessage$ Creature that attacked or blocked this turn | Amount$ X | SpellDescription$ Target opponent sacrifices a creature that attacked or blocked this turn. If you control a Gideon planeswalker, that player sacrifices two of those creatures instead. +A:SP$ Sacrifice | ValidTgts$ Opponent | SacValid$ Creature.attackedThisTurn,Creature.blockedThisTurn | SacMessage$ Creature that attacked or blocked this turn | Amount$ X | SpellDescription$ Target opponent sacrifices a creature that attacked or blocked this turn. If you control a Gideon planeswalker, that player sacrifices two of those creatures instead. SVar:Y:Count$Valid Planeswalker.Gideon+YouCtrl SVar:X:Count$Compare Y GE1.2.1 +DeckHints:Type$Gideon Oracle:Target opponent sacrifices a creature that attacked or blocked this turn. If you control a Gideon planeswalker, that player sacrifices two of those creatures instead. diff --git a/forge-gui/res/cardsfolder/h/huatlis_spurring.txt b/forge-gui/res/cardsfolder/h/huatlis_spurring.txt index 1bb4c9271a0..9abaea006c5 100644 --- a/forge-gui/res/cardsfolder/h/huatlis_spurring.txt +++ b/forge-gui/res/cardsfolder/h/huatlis_spurring.txt @@ -1,7 +1,8 @@ Name:Huatli's Spurring ManaCost:R Types:Instant -A:SP$ Pump | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +2/+0 until end of turn. If you control a Huatli planeswalker, that creature gets +4/+0 until end of turn instead. +A:SP$ Pump | ValidTgts$ Creature | NumAtt$ +X | SpellDescription$ Target creature gets +2/+0 until end of turn. If you control a Huatli planeswalker, that creature gets +4/+0 until end of turn instead. SVar:Y:Count$Valid Planeswalker.Huatli+YouCtrl SVar:X:Count$Compare Y GE1.4.2 +DeckHints:Type$Huatli Oracle:Target creature gets +2/+0 until end of turn. If you control a Huatli planeswalker, that creature gets +4/+0 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/j/jaces_triumph.txt b/forge-gui/res/cardsfolder/j/jaces_triumph.txt index f390e2b8269..45ed681bfd6 100644 --- a/forge-gui/res/cardsfolder/j/jaces_triumph.txt +++ b/forge-gui/res/cardsfolder/j/jaces_triumph.txt @@ -1,7 +1,8 @@ Name:Jace's Triumph ManaCost:2 U Types:Sorcery -A:SP$ Draw | Cost$ 2 U | NumCards$ X | SpellDescription$ Draw two cards. If you control a Jace planeswalker, draw three cards instead. +A:SP$ Draw | NumCards$ X | SpellDescription$ Draw two cards. If you control a Jace planeswalker, draw three cards instead. SVar:Y:Count$Valid Planeswalker.Jace+YouCtrl SVar:X:Count$Compare Y GE1.3.2 +DeckHints:Type$Jace Oracle:Draw two cards. If you control a Jace planeswalker, draw three cards instead. diff --git a/forge-gui/res/cardsfolder/n/necra_sanctuary.txt b/forge-gui/res/cardsfolder/n/necra_sanctuary.txt index bbcb6c4967e..c3fb4ed4b93 100644 --- a/forge-gui/res/cardsfolder/n/necra_sanctuary.txt +++ b/forge-gui/res/cardsfolder/n/necra_sanctuary.txt @@ -2,11 +2,11 @@ Name:Necra Sanctuary ManaCost:2 B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Permanent.YouCtrl+Green,Permanent.YouCtrl+White | Execute$ TrigLoseLife | TriggerDescription$ At the beginning of your upkeep, if you control a green or white permanent, target player loses 1 life. If you control a green permanent and a white permanent, that player loses 3 life instead. -SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player to lose life | LifeAmount$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$ LoseLife | Defined$ Targeted | LifeAmount$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 +SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Player | LifeAmount$ L SVar:Y:Count$Valid Permanent.Green+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.White+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z +SVar:L:Count$Compare X EQ2.3.1 DeckHints:Color$White|Green AI:RemoveDeck:Random Oracle:At the beginning of your upkeep, if you control a green or white permanent, target player loses 1 life. If you control a green permanent and a white permanent, that player loses 3 life instead. diff --git a/forge-gui/res/cardsfolder/n/nissas_triumph.txt b/forge-gui/res/cardsfolder/n/nissas_triumph.txt index 71897b43cd5..d71bd1a7dd8 100644 --- a/forge-gui/res/cardsfolder/n/nissas_triumph.txt +++ b/forge-gui/res/cardsfolder/n/nissas_triumph.txt @@ -1,6 +1,7 @@ Name:Nissa's Triumph ManaCost:G G Types:Sorcery -A:SP$ ChangeZone | Cost$ G G | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic+Forest | ChangeNum$ 2 | ConditionPresent$ Planeswalker.Nissa+YouCtrl | ConditionCompare$ EQ0 | SubAbility$ DBChangeZone | SpellDescription$ Search your library for up to two basic Forest cards. If you control a Nissa planeswalker, instead search your library for up to three land cards. Reveal those cards, put them into your hand, then shuffle. +A:SP$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic+Forest | ChangeNum$ 2 | ConditionPresent$ Planeswalker.Nissa+YouCtrl | ConditionCompare$ EQ0 | SubAbility$ DBChangeZone | SpellDescription$ Search your library for up to two basic Forest cards. If you control a Nissa planeswalker, instead search your library for up to three land cards. Reveal those cards, put them into your hand, then shuffle. SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Land | ChangeNum$ 3 | ConditionPresent$ Planeswalker.Nissa+YouCtrl | ConditionCompare$ GE1 +DeckHints:Type$Nissa Oracle:Search your library for up to two basic Forest cards. If you control a Nissa planeswalker, instead search your library for up to three land cards. Reveal those cards, put them into your hand, then shuffle. diff --git a/forge-gui/res/cardsfolder/r/raka_sanctuary.txt b/forge-gui/res/cardsfolder/r/raka_sanctuary.txt index 4f0130b797b..9a9ead3d8f1 100644 --- a/forge-gui/res/cardsfolder/r/raka_sanctuary.txt +++ b/forge-gui/res/cardsfolder/r/raka_sanctuary.txt @@ -1,12 +1,12 @@ Name:Raka Sanctuary ManaCost:2 R Types:Enchantment -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigDmg | TriggerDescription$ At the beginning of your upkeep, if you control a white or blue permanent, CARDNAME deals 1 damage to target creature. If you control a white permanent and a blue permanent, CARDNAME deals 3 damage instead. -SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to deal damage to | NumDmg$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Permanent.YouCtrl+White,Permanent.YouCtrl+Blue | Execute$ TrigDmg | TriggerDescription$ At the beginning of your upkeep, if you control a white or blue permanent, CARDNAME deals 1 damage to target creature. If you control a white permanent and a blue permanent, CARDNAME deals 3 damage instead. +SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ D SVar:Y:Count$Valid Permanent.White+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Blue+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z +SVar:D:Count$Compare X EQ2.3.1 AI:RemoveDeck:Random DeckHints:Color$White|Blue Oracle:At the beginning of your upkeep, if you control a white or blue permanent, Raka Sanctuary deals 1 damage to target creature. If you control a white permanent and a blue permanent, Raka Sanctuary deals 3 damage instead. diff --git a/forge-gui/res/cardsfolder/t/tezzerets_simulacrum.txt b/forge-gui/res/cardsfolder/t/tezzerets_simulacrum.txt index 747b6bc3d26..fc344014798 100644 --- a/forge-gui/res/cardsfolder/t/tezzerets_simulacrum.txt +++ b/forge-gui/res/cardsfolder/t/tezzerets_simulacrum.txt @@ -5,4 +5,5 @@ PT:2/3 A:AB$ LoseLife | Cost$ T | ValidTgts$ Opponent | LifeAmount$ X | SpellDescription$ Target opponent loses 1 life. If you control a Tezzeret planeswalker, that player loses 3 life instead. SVar:Y:Count$Valid Planeswalker.Tezzeret+YouCtrl SVar:X:Count$Compare Y GE1.3.1 +DeckHints:Type$Tezzeret Oracle:{T}: Target opponent loses 1 life. If you control a Tezzeret planeswalker, that player loses 3 life instead. diff --git a/forge-gui/res/cardsfolder/w/winds_of_qal_sisma.txt b/forge-gui/res/cardsfolder/w/winds_of_qal_sisma.txt index b98919521a0..da943a63a23 100644 --- a/forge-gui/res/cardsfolder/w/winds_of_qal_sisma.txt +++ b/forge-gui/res/cardsfolder/w/winds_of_qal_sisma.txt @@ -1,9 +1,8 @@ Name:Winds of Qal Sisma ManaCost:1 G Types:Instant -A:SP$ Effect | Cost$ 1 G | Name$ Winds of Qal Sisma Effect | ReplacementEffects$ RPrevent1 | AILogic$ Fog | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBEffect | SpellDescription$ Prevent all combat damage that would be dealt this turn. Ferocious — If you control a creature with power 4 or greater, instead prevent all combat damage that would be dealt this turn by creatures your opponents control. -SVar:DBEffect:DB$ Effect | Name$ Winds of Qal Sisma Effect | ReplacementEffects$ RPrevent2 | AILogic$ Fog | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 +A:SP$ Effect | ReplacementEffects$ RPrevent1 | AILogic$ Fog | ConditionPresent$ Creature.YouCtrl+powerGE4 | ConditionCompare$ EQ0 | SubAbility$ DBEffect | SpellDescription$ Prevent all combat damage that would be dealt this turn. Ferocious — If you control a creature with power 4 or greater, instead prevent all combat damage that would be dealt this turn by creatures your opponents control. +SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPrevent2 | AILogic$ Fog | ConditionPresent$ Creature.YouCtrl+powerGE4 | ConditionCompare$ GE1 SVar:RPrevent1:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | Description$ Prevent all combat damage that would be dealt this turn. SVar:RPrevent2:Event$ DamageDone | Prevent$ True | ValidSource$ Creature.OppCtrl | IsCombat$ True | ActiveZones$ Command | Description$ Prevent all combat damage that would be dealt this turn by creatures your opponents control. -SVar:X:Count$Valid Creature.YouCtrl+powerGE4 Oracle:Prevent all combat damage that would be dealt this turn.\nFerocious — If you control a creature with power 4 or greater, instead prevent all combat damage that would be dealt this turn by creatures your opponents control.