mtg-forge-ios/forge-gui/res/cardsfolder/s/shieldmage_advocate.txt

15 lines
1.8 KiB
Plaintext

Name:Shieldmage Advocate
ManaCost:2 W
Types:Creature Human Cleric
PT:1/3
A:AB$ ChangeZone | Cost$ T | ValidTgts$ Card.OppOwn | TgtPrompt$ Select target card in an opponent's graveyard | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBChooseSource | SpellDescription$ Return target card from an opponent's graveyard to his or her hand. Prevent all damage that would be dealt to target creature or player this turn by a source of your choice.
SVar:DBChooseSource:DB$ ChooseSource | Choices$ Card | AILogic$ NeedsPrevention | SubAbility$ DBEffect
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player to prevent damage | Triggers$ OutOfSight | StaticAbilities$ PreventFromSource | References$ PreventFromSource,OutOfSight,ExileEffect | RememberObjects$ TargetedPlayer,ThisTargetedCard | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:OutOfSight:Mode$ ChangesZone | TriggerZones$ Command | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsRemembered | Execute$ ExileEffect | Static$ True
SVar:PreventFromSource:Mode$ PreventDamage | EffectZone$ Command | Source$ Card.ChosenCard | Target$ Player.IsRemembered,Card.IsRemembered | Description$ Prevent all damage that would be dealt to target creature or player this turn by a source of your choice.
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/shieldmage_advocate.jpg
Oracle:{T}: Return target card from an opponent's graveyard to his or her hand. Prevent all damage that would be dealt to target creature or player this turn by a source of your choice.