From 3800a38f72f80e39b39249e0b82002c71d617bb9 Mon Sep 17 00:00:00 2001 From: Sloth Date: Sat, 10 Nov 2012 13:43:59 +0000 Subject: [PATCH] - Added Righteous Aura. --- .gitattributes | 1 + res/cardsfolder/r/righteous_aura.txt | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 res/cardsfolder/r/righteous_aura.txt diff --git a/.gitattributes b/.gitattributes index fea3c21ba5f..1171c616a4a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7988,6 +7988,7 @@ res/cardsfolder/r/riftmarked_knight.txt -text res/cardsfolder/r/riftstone_portal.txt svneol=native#text/plain res/cardsfolder/r/riftsweeper.txt -text res/cardsfolder/r/riftwing_cloudskate.txt svneol=native#text/plain +res/cardsfolder/r/righteous_aura.txt -text res/cardsfolder/r/righteous_authority.txt -text res/cardsfolder/r/righteous_avengers.txt svneol=native#text/plain res/cardsfolder/r/righteous_blow.txt -text diff --git a/res/cardsfolder/r/righteous_aura.txt b/res/cardsfolder/r/righteous_aura.txt new file mode 100644 index 00000000000..4e9200dbd1a --- /dev/null +++ b/res/cardsfolder/r/righteous_aura.txt @@ -0,0 +1,16 @@ +Name:Righteous Aura +ManaCost:1 W +Types:Enchantment +Text:no text +A:AB$ ChooseSource | Cost$ W PayLife<2> | Choices$ Card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SVars$ DBEffect,RPreventNextFromSource,ExileEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, prevent that damage. +SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | RememberObjects$ Remembered | SVars$ RPreventNextFromSource,ExileEffect | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 +SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ ExileEffect | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. +SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Exile +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +SVar:RemAIDeck:True +SVar:Rarity:Uncommon +SVar:Picture:http://www.wizards.com/global/images/magic/general/righteous_aura.jpg +SetInfo:VIS|Common|http://magiccards.info/scans/en/vi/120.jpg +SetInfo:MMQ|Uncommon|http://magiccards.info/scans/en/mm/45.jpg +Oracle:{W}, Pay 2 life: The next time a source of your choice would deal damage to you this turn, prevent that damage. +End \ No newline at end of file