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

18 lines
2.0 KiB
Plaintext

Name:Stuffy Doll Avatar
ManaCost:no cost
Types:Vanguard
HandLifeModifier:+0/-6
A:AB$ ChooseSource | Cost$ 0 | ActivationZone$ Command | Choices$ Card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBTargetOpp | ActivationLimit$ 1 | SpellDescription$ If damage would be dealt to you this turn by a source of your choice, prevent that damage. CARDNAME deals damage to you and target opponent equal to half the damage prevented this way, rounded up. Activate this ability only once each turn.
SVar:DBTargetOpp:DB$ Pump | ValidTgts$ Opponent | TgtPrompt$ Select target opponent to give damage | RememberObjects$ Targeted | StackDescription$ None | SubAbility$ DBEffect
SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | RememberObjects$ Remembered | SVars$ DamageEffectYou,DamageEffectPlayer,X | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1
SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ You | ValidSource$ Card.IsRemembered | PreventionEffect$ True | ReplaceWith$ DamageEffectYou | Description$ If damage would be dealt to you this turn by a source of your choice, prevent that damage. Stuffy Doll Avatar deals damage to you and target opponent equal to half the damage prevented this way, rounded up. Activate this ability only once each turn.
SVar:DamageEffectYou:DB$ DealDamage | Defined$ You | DamageSource$ EffectSource | NumDmg$ X | SubAbility$ AvatarCombat
SVar:DamageEffectPlayer:DB$ DealDamage | Defined$ Player.IsRemembered | DamageSource$ EffectSource | NumDmg$ X
SVar:X:ReplaceCount$DamageAmount/HalfUp
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosenCard$ True
SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Stuffy Doll Avatar.full.jpg
Oracle:Hand +0, life -6\n{0}: If damage would be dealt to you this turn by a source of your choice, prevent that damage. Stuffy Doll Avatar deals damage to you and target opponent equal to half the damage prevented this way, rounded up. Activate this ability only once each turn.