From 4c31c6d3b2a8a19fb669d865df7fa0b0aafb5d80 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 19:09:39 +0000 Subject: [PATCH] - Converted Fog Elemental to delayed trigger. - Added Cinder Wall. --- .gitattributes | 3 ++- res/cardsfolder/cinder_wall.txt | 13 +++++++++++++ res/cardsfolder/fog_elemental.txt | 29 ++++++++++++++++------------- 3 files changed, 31 insertions(+), 14 deletions(-) create mode 100644 res/cardsfolder/cinder_wall.txt diff --git a/.gitattributes b/.gitattributes index 92a8ebc5711..7494b07702b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1079,6 +1079,7 @@ res/cardsfolder/cinder_marsh.txt -text svneol=native#text/plain res/cardsfolder/cinder_pyromancer.txt -text svneol=native#text/plain res/cardsfolder/cinder_shade.txt -text svneol=native#text/plain res/cardsfolder/cinder_storm.txt -text svneol=native#text/plain +res/cardsfolder/cinder_wall.txt -text svneol=native#text/plain res/cardsfolder/cinderbones.txt -text svneol=native#text/plain res/cardsfolder/circular_logic.txt -text svneol=native#text/plain res/cardsfolder/citanul_centaurs.txt -text svneol=native#text/plain @@ -2233,7 +2234,7 @@ res/cardsfolder/fodder_cannon.txt -text svneol=native#text/plain res/cardsfolder/fodder_launch.txt svneol=native#text/plain res/cardsfolder/fog.txt -text svneol=native#text/plain res/cardsfolder/fog_bank.txt -text svneol=native#text/plain -res/cardsfolder/fog_elemental.txt svneol=native#text/plain +res/cardsfolder/fog_elemental.txt -text svneol=native#text/plain res/cardsfolder/fog_of_gnats.txt -text svneol=native#text/plain res/cardsfolder/folk_medicine.txt -text svneol=native#text/plain res/cardsfolder/folk_of_an_havva.txt -text svneol=native#text/plain diff --git a/res/cardsfolder/cinder_wall.txt b/res/cardsfolder/cinder_wall.txt new file mode 100644 index 00000000000..dd7b40b1d88 --- /dev/null +++ b/res/cardsfolder/cinder_wall.txt @@ -0,0 +1,13 @@ +Name:Cinder Wall +ManaCost:R +Types:Creature Wall +Text:no text +PT:3/3 +K:Defender +T:Mode$ Blocks | ValidCard$ Card.Self | DelayedTrigger$ DelTrig | TriggerDescription$ Whenever CARDNAME blocks, sacrifice it at end of combat. +SVar:DelTrig:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Each | Execute$ TrigSacrifice | TriggerDescription$ Sacrifice CARDNAME at end of combat. +SVar:TrigSacrifice:AB$Sacrifice | Cost$ 0 | Defined$ Self +SVar:RemAIDeck:True +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/cinder_wall.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/fog_elemental.txt b/res/cardsfolder/fog_elemental.txt index 59a93c05224..f34ac119611 100644 --- a/res/cardsfolder/fog_elemental.txt +++ b/res/cardsfolder/fog_elemental.txt @@ -1,14 +1,17 @@ -Name:Fog Elemental -ManaCost:2 U -Types:Creature Elemental -Text:no text -PT:4/4 -K:Flying -T:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Player | IsPresent$ Card.attacking+Self,Card.blocking+Self | Execute$ TrigSacrifice | TriggerDescription$ When CARDNAME attacks or blocks, sacrifice it at end of combat. -SVar:TrigSacrifice:AB$Sacrifice | Cost$ 0 | Defined$ Self -SVar:Rarity:Uncommon -SVar:Picture:http://www.wizards.com/global/images/magic/general/fog_elemental.jpg -SetInfo:WTH|Common|http://magiccards.info/scans/en/wl/40.jpg -SetInfo:6ED|Common|http://magiccards.info/scans/en/6e/69.jpg -SetInfo:10E|Uncommon|http://magiccards.info/scans/en/10e/85.jpg +Name:Fog Elemental +ManaCost:2 U +Types:Creature Elemental +Text:no text +PT:4/4 +K:Flying +T:Mode$ Attacks | ValidCard$ Card.Self | DelayedTrigger$ DelTrig | TriggerDescription$ Whenever CARDNAME attacks or blocks, sacrifice it at end of combat. +T:Mode$ Blocks | ValidCard$ Card.Self | DelayedTrigger$ DelTrig | Secondary$ True | TriggerDescription$ Whenever CARDNAME attacks or blocks, sacrifice it at end of combat. +SVar:DelTrig:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Each | Execute$ TrigSacrifice | TriggerDescription$ Sacrifice CARDNAME at end of combat. +SVar:TrigSacrifice:AB$Sacrifice | Cost$ 0 | Defined$ Self +SVar:RemAIDeck:True +SVar:Rarity:Uncommon +SVar:Picture:http://www.wizards.com/global/images/magic/general/fog_elemental.jpg +SetInfo:WTH|Common|http://magiccards.info/scans/en/wl/40.jpg +SetInfo:6ED|Common|http://magiccards.info/scans/en/6e/69.jpg +SetInfo:10E|Uncommon|http://magiccards.info/scans/en/10e/85.jpg End \ No newline at end of file