From 8be46499551b9c935bb02b0fe624d33b08e1ef6c Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 18:49:35 +0000 Subject: [PATCH] Add Ebon Praetor (from Fallen Empires) as an example of using SVar:X:Sacrificed$Valid --- .gitattributes | 1 + res/cardsfolder/ebon_praetor.txt | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 res/cardsfolder/ebon_praetor.txt diff --git a/.gitattributes b/.gitattributes index 4e94f43106e..7554207b34f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1756,6 +1756,7 @@ res/cardsfolder/eastern_paladin.txt -text svneol=native#text/plain res/cardsfolder/eater_of_days.txt -text svneol=native#text/plain res/cardsfolder/ebon_dragon.txt -text svneol=native#text/plain res/cardsfolder/ebon_drake.txt -text svneol=native#text/plain +res/cardsfolder/ebon_praetor.txt -text svneol=native#text/plain res/cardsfolder/ebon_stronghold.txt -text svneol=native#text/plain res/cardsfolder/ebony_horse.txt -text svneol=native#text/plain res/cardsfolder/ebony_owl_netsuke.txt -text svneol=native#text/plain diff --git a/res/cardsfolder/ebon_praetor.txt b/res/cardsfolder/ebon_praetor.txt new file mode 100644 index 00000000000..fe8ef144d84 --- /dev/null +++ b/res/cardsfolder/ebon_praetor.txt @@ -0,0 +1,16 @@ +Name:Ebon Praetor +ManaCost:4 B B +Types:Creature Avatar +Text:no text +PT:5/5 +K:First Strike +K:Trample +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a -2/-2 counter on CARDNAME. +SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ M2M2 | CounterNum$ 1 | SpellDescription$ Put a -2/-2 counter on CARDNAME. +A:AB$RemoveCounter | Cost$ Sac<1/Creature> | CounterType$ M2M2 | CounterNum$ 1 | ActivatingPhases$ Upkeep | PlayerTurn$ True | ActivationLimit$ 1 | SubAbility$ SVar=DBPutCounter | SpellDescription$ Remove a -2/-2 counter from CARDNAME. If the sacrificed creature was a Thrull, put a +1/+0 counter on CARDNAME. Activate this ability only during your upkeep and only once each turn. +SVar:DBPutCounter:DB$PutCounter | CounterNum$ X | CounterType$ P1P0 +SVar:X:Sacrificed$Valid Thrull +SVar:RemAIDeck:True +SVar:Rarity:Rare +SVar:Picture:http://www.wizards.com/global/images/magic/general/ebon_praetor.jpg +End