From 04c8424c4df18b18d6841c17a470b88f937afab0 Mon Sep 17 00:00:00 2001 From: moomarc Date: Fri, 20 Jan 2012 20:31:15 +0000 Subject: [PATCH] Fixed Sanctuary cycle of cards from Apocalypse. --- res/cardsfolder/a/ana_sanctuary.txt | 7 +++---- res/cardsfolder/c/ceta_sanctuary.txt | 7 +++---- res/cardsfolder/d/dega_sanctuary.txt | 7 +++---- res/cardsfolder/n/necra_sanctuary.txt | 7 +++---- res/cardsfolder/r/raka_sanctuary.txt | 7 +++---- 5 files changed, 15 insertions(+), 20 deletions(-) diff --git a/res/cardsfolder/a/ana_sanctuary.txt b/res/cardsfolder/a/ana_sanctuary.txt index 2c104a37879..79134fb0e08 100644 --- a/res/cardsfolder/a/ana_sanctuary.txt +++ b/res/cardsfolder/a/ana_sanctuary.txt @@ -2,10 +2,9 @@ Name:Ana Sanctuary ManaCost:2 G Types:Enchantment Text:no text -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ1 | Execute$ TrigPumpA | 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. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE2 | Execute$ TrigPumpB | Secondary$ True | 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:TrigPumpA:AB$Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature to get +1/+1 | NumAtt$ +1 | NumDef$ +1 -SVar:TrigPumpB:AB$Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature to get +5/+5 | NumAtt$ +5 | NumDef$ +5 +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | 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 SVar:Y:Count$Valid Permanent.Blue+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Black+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z diff --git a/res/cardsfolder/c/ceta_sanctuary.txt b/res/cardsfolder/c/ceta_sanctuary.txt index 605f3fd2185..f89dc411119 100644 --- a/res/cardsfolder/c/ceta_sanctuary.txt +++ b/res/cardsfolder/c/ceta_sanctuary.txt @@ -2,10 +2,9 @@ Name:Ceta Sanctuary ManaCost:2 U Types:Enchantment Text:no text -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ1 | Execute$ TrigDrawA | 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. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE2 | Execute$ TrigDrawB | Secondary$ True | 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:TrigDrawA:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1 | SubAbility$ DBDiscard -SVar:TrigDrawB:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 2 | SubAbility$ DBDiscard +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 SVar:Y:Count$Valid Permanent.Red+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Green+YouCtrl/LimitMax.1 diff --git a/res/cardsfolder/d/dega_sanctuary.txt b/res/cardsfolder/d/dega_sanctuary.txt index 8308ba818dd..3250de20c26 100644 --- a/res/cardsfolder/d/dega_sanctuary.txt +++ b/res/cardsfolder/d/dega_sanctuary.txt @@ -2,10 +2,9 @@ Name:Dega Sanctuary ManaCost:2 W Types:Enchantment Text:no text -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ1 | Execute$ TrigGainLifeA | 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. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE2 | Execute$ TrigGainLifeB | Secondary$ True | 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:TrigGainLifeA:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 2 -SVar:TrigGainLifeB:AB$GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 4 +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:AB$ GainLife | Cost$ 0 | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 SVar:Y:Count$Valid Permanent.Black+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Red+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z diff --git a/res/cardsfolder/n/necra_sanctuary.txt b/res/cardsfolder/n/necra_sanctuary.txt index 6e788754cce..8f7a6bd11eb 100644 --- a/res/cardsfolder/n/necra_sanctuary.txt +++ b/res/cardsfolder/n/necra_sanctuary.txt @@ -2,10 +2,9 @@ Name:Necra Sanctuary ManaCost:2 B Types:Enchantment Text:no text -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ1 | Execute$ TrigLoseLifeA | 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. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE2 | Execute$ TrigLoseLifeB | Secondary$ True | 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:TrigLoseLifeA:AB$LoseLife | Cost$ 0 | ValidTgts$ Player | TgtPrompt$ Select a player to lose life | LifeAmount$ 1 -SVar:TrigLoseLifeB:AB$LoseLife | Cost$ 0 | ValidTgts$ Player | TgtPrompt$ Select a player to lose life | LifeAmount$ 3 +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | 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 | Cost$ 0 | ValidTgts$ Player | TgtPrompt$ Select target player to lose life | LifeAmount$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$LoseLife | Cost$ 0 | Defined$ Targeted | LifeAmount$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 SVar:Y:Count$Valid Permanent.Green+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.White+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z diff --git a/res/cardsfolder/r/raka_sanctuary.txt b/res/cardsfolder/r/raka_sanctuary.txt index ec91dc68e93..3d83fbde85e 100644 --- a/res/cardsfolder/r/raka_sanctuary.txt +++ b/res/cardsfolder/r/raka_sanctuary.txt @@ -2,10 +2,9 @@ Name:Raka Sanctuary ManaCost:2 R Types:Enchantment Text:no text -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ1 | Execute$ TrigDmgA | 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 to that creature instead. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE2 | Execute$ TrigDmgB | Secondary$ True | 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 to that creature instead. -SVar:TrigDmgA:AB$ DealDamage | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature to deal damage to | NumDmg$ 1 -SVar:TrigDmgB:AB$ DealDamage | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature to deal damage to | NumDmg$ 3 +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 to that creature instead. +SVar:TrigDmg:AB$ DealDamage | Cost$ 0 | 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 SVar:Y:Count$Valid Permanent.White+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Blue+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z