From 320d4f62d9e1974615a950f805d805d90f28e1cc Mon Sep 17 00:00:00 2001 From: swordshine Date: Sat, 9 Nov 2013 08:24:47 +0000 Subject: [PATCH] --- .gitattributes | 1 + forge-gui/res/cardsfolder/k/keldon_twilight.txt | 12 ++++++++++++ forge-gui/res/cardsfolder/s/standstill.txt | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 forge-gui/res/cardsfolder/k/keldon_twilight.txt diff --git a/.gitattributes b/.gitattributes index f3f2386a05b..be53c4bc4ce 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6073,6 +6073,7 @@ forge-gui/res/cardsfolder/k/keldon_mantle.txt svneol=native#text/plain forge-gui/res/cardsfolder/k/keldon_marauders.txt svneol=native#text/plain forge-gui/res/cardsfolder/k/keldon_megaliths.txt svneol=native#text/plain forge-gui/res/cardsfolder/k/keldon_necropolis.txt svneol=native#text/plain +forge-gui/res/cardsfolder/k/keldon_twilight.txt -text forge-gui/res/cardsfolder/k/keldon_vandals.txt svneol=native#text/plain forge-gui/res/cardsfolder/k/keldon_warlord.txt svneol=native#text/plain forge-gui/res/cardsfolder/k/kelinore_bat.txt svneol=native#text/plain diff --git a/forge-gui/res/cardsfolder/k/keldon_twilight.txt b/forge-gui/res/cardsfolder/k/keldon_twilight.txt new file mode 100644 index 00000000000..a9f6e2b1965 --- /dev/null +++ b/forge-gui/res/cardsfolder/k/keldon_twilight.txt @@ -0,0 +1,12 @@ +Name:Keldon Twilight +ManaCost:1 B R +Types:Enchantment +T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigSac | CheckSVar$ AttackedThisTurn | References$ AttackedThisTurn | SVarCompare$ EQ0 | TriggerDescription$ At the beginning of each player's end step, if no creatures attacked this turn, that player sacrifices a creature he or she controlled since the beginning of the turn. +SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | Defined$ TriggeredPlayer | SacValid$ Creature.notFirstTurnControlled +T:Mode$ AttackersDeclared | Execute$ TrigStoreSVar | Static$ True +SVar:TrigStoreSVar:DB$ StoreSVar | SVar$ AttackedThisTurn | Type$ Number | Expression$ 1 +SVar:AttackedThisTurn:Number$0 +T:Mode$ Phase | Phase$ Cleanup | Execute$ TrigReset | Static$ True +SVar:TrigReset:DB$ StoreSVar | SVar$ AttackedThisTurn | Type$ Number | Expression$ 0 +SVar:Picture:http://www.wizards.com/global/images/magic/general/keldon_twilight.jpg +Oracle:At the beginning of each player's end step, if no creatures attacked this turn, that player sacrifices a creature he or she controlled since the beginning of the turn. diff --git a/forge-gui/res/cardsfolder/s/standstill.txt b/forge-gui/res/cardsfolder/s/standstill.txt index 49cd650208f..0d5015d8872 100644 --- a/forge-gui/res/cardsfolder/s/standstill.txt +++ b/forge-gui/res/cardsfolder/s/standstill.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Enchantment T:Mode$ SpellCast | ValidActivatingPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ When a player casts a spell, sacrifice CARDNAME. If you do, each of that player's opponents draws three cards. SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | SacValid$ Self | RememberSacrificed$ True | SubAbility$ DrawOpp -SVar:DrawOpp:DB$ Draw | NumCards$ 3 | Defined$ TriggeredCardOpponent | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup +SVar:DrawOpp:DB$ Draw | NumCards$ 3 | Defined$ TriggeredCardOpponent | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Y:Count$Valid Creature.YouCtrl