From 473afbebad0eac7b4197761826b28aff86b0fb2c Mon Sep 17 00:00:00 2001 From: moomarc Date: Wed, 18 Apr 2012 16:35:54 +0000 Subject: [PATCH] Added Xathrid Demon (thanks Squee) --- .gitattributes | 1 + res/cardsfolder/x/xathrid_demon.txt | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 res/cardsfolder/x/xathrid_demon.txt diff --git a/.gitattributes b/.gitattributes index 5c9d64caf37..6824f88b4cd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -10472,6 +10472,7 @@ res/cardsfolder/w/wydwen_the_biting_gale.txt svneol=native#text/plain res/cardsfolder/w/wyluli_wolf.txt svneol=native#text/plain res/cardsfolder/x/xanthic_statue.txt svneol=native#text/plain res/cardsfolder/x/xantid_swarm.txt -text +res/cardsfolder/x/xathrid_demon.txt -text res/cardsfolder/x/xenic_poltergeist.txt -text res/cardsfolder/x/xenograft.txt svneol=native#text/plain res/cardsfolder/x/xiahou_dun_the_one_eyed.txt svneol=native#text/plain diff --git a/res/cardsfolder/x/xathrid_demon.txt b/res/cardsfolder/x/xathrid_demon.txt new file mode 100644 index 00000000000..e945881fd5f --- /dev/null +++ b/res/cardsfolder/x/xathrid_demon.txt @@ -0,0 +1,23 @@ +Name:Xathrid Demon +ManaCost:3 B B B +Types:Creature Demon +Text:no text +PT:7/7 +K:Flying +K:Trample +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature other than CARDNAME, then each opponent loses life equal to the sacrificed creature's power. If you can't sacrifice a creature, tap CARDNAME and you lose 7 life. +SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ You | SacValid$ Creature.Other | RememberSacrificed$ True | SubAbility$ DBLoseLifeOpp +SVar:DBLoseLifeOpp:DB$LoseLife | Defined$ Opponent | LifeAmount$ X | SubAbility$ DBLoseLifeYou +SVar:DBLoseLifeYou:DB$LoseLife | Defined$ You | LifeAmount$ 7 | ConditionCheckSVar$ Y | ConditionSVarCompare$ LT1 | SubAbility$ DBTap +SVar:DBTap:DB$Tap | Defined$ Self | ConditionCheckSVar$ Y | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup +SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True +SVar:X:Remembered$CardPower +SVar:Y:Remembered$Amount +SVar:NeedsToPlayVar:Z GE6 +SVar:Z:Count$Valid Creature.YouCtrl +SVar:RemAIDeck:True +SVar:Rarity:Mythic +SVar:Picture:http://www.wizards.com/global/images/magic/general/xathrid_demon.jpg +SetInfo:M10|Mythic|http://magiccards.info/scans/en/m10/122.jpg +Oracle:Flying, trample\nAt the beginning of your upkeep, sacrifice a creature other than Xathrid Demon, then each opponent loses life equal to the sacrificed creature's power. If you can't sacrifice a creature, tap Xathrid Demon and you lose 7 life. +End \ No newline at end of file