- Added Hazduhr the Abbot.

This commit is contained in:
Agetian
2017-08-04 10:22:41 +00:00
parent 081ea769a1
commit 364205cd9b
4 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
Name:Hazduhr the Abbot
ManaCost:3 W W
Types:Legendary Creature Human Cleric
PT:2/5
A:AB$ ChooseCard | Cost$ T X | ValidTgts$ Creature.White+YouCtrl | TgtPrompt$ Select target white creature you control | Mandatory$ True | Defined$ You | RememberChosen$ True | SubAbility$ DBSetVarBefore | SpellDescription$ The next X damage that would be dealt this turn to target white creature you control is dealt to CARDNAME instead. | StackDescription$ SpellDescription
SVar:DBSetVarBefore:DB$ StoreSVar | SVar$ Y | Type$ CountSVar | Expression$ X | SubAbility$ DBEffect
SVar:DBEffect:DB$ Effect | ReplacementEffects$ HazduhrDamage | Triggers$ OutOfSight | SVars$ HazduhrDamage,HazduhrDmg,ExileEffect,OutOfSight,Y | References$ HazduhrDamage,OutOfSight,HazduhrDmg,ExileEffect,Y | RememberObjects$ Targeted | ImprintCards$ Self | SubAbility$ DBCleanup
SVar:HazduhrDamage:Event$ DamageDone | ValidTarget$ Card.IsRemembered | ReplaceWith$ HazduhrDmg | DamageTarget$ Imprinted | References$ Y | Description$ The next X damage that would be dealt this turn to target white creature you control is dealt to EFFECTSOURCE instead.
SVar:HazduhrDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted | VarName$ Y | References$ Y
SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.ChosenCard,Card.IsRemembered | Execute$ ExileEffect | Static$ True
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True
SVar:X:Count$xPaid
#X Will get overwritten by Announce
SVar:Y:Number$0
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/hazduhr_the_abbot.jpg
Oracle:{X}, {T}: The next X damage that would be dealt this turn to target white creature you control is dealt to Hazduhr the Abbot instead.