cards: update all cards that use DamageDone Replacement with DealDamage Effect

This commit is contained in:
Hanmac
2017-01-07 17:25:16 +00:00
parent 7d6b639ed6
commit 286e47439e
48 changed files with 207 additions and 342 deletions

View File

@@ -7,26 +7,16 @@ K:Vigilance
K:Haste
A:AB$ Pump | Cost$ T | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage from | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ The next 3 damage that would be dealt to target creature you control this turn is dealt to another target creature instead.
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ Combat,NonCombat | Triggers$ OutOfSight | SVars$ Combat,NonCombat,CombatDmg,NonCombatDmg,RestDmgCombat,RestDmg,DBSetVar,ExileEffect,ExileEffect2,OutOfSight,X,Y,MinDmg | References$ Combat,NonCombat,OutOfSight,CombatDmg,NonCombatDmg,RestDmgCombat,RestDmg,ExileEffect,ExileEffect2,X,Y,MinDmg | RememberObjects$ ParentTarget | ImprintCards$ ThisTargetedCard | ConditionDefined$ ParentTarget | ConditionPresent$ Card | ConditionCompare$ GE1
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ RaziaDamage | Triggers$ OutOfSight | SVars$ RaziaDamage,RaziaDmg,ExileEffect,OutOfSight,X | References$ RaziaDamage,OutOfSight,RaziaDmg,ExileEffect,X | RememberObjects$ ParentTarget | ImprintCards$ ThisTargetedCard | ConditionDefined$ ParentTarget | ConditionPresent$ Creature | ConditionCompare$ GE1
SVar:Combat:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | IsCombat$ True | ReplaceWith$ CombatDmg | IsPresent$ Creature.IsImprinted | References$ X | Description$ The next X damage that would be dealt to target creature you control this turn is dealt to another target creature instead.
SVar:NonCombat:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | IsCombat$ False | ReplaceWith$ NonCombatDmg | Secondary$ True | IsPresent$ Creature.IsImprinted | References$ X | Description$ The next X damage that would be dealt to target creature you control this turn is dealt to another target creature instead.
SVar:RaziaDamage:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | ReplaceWith$ RaziaDmg | DamageTarget$ Imprinted | Description$ The next 3 damage that would be dealt to target creature this turn is dealt to target creature you control instead.
SVar:CombatDmg:AB$ DealDamage | Cost$ 0 | Defined$ Imprinted | DamageSource$ ReplacedSource | CombatDamage$ True | NumDmg$ MinDmg | SubAbility$ RestDmgCombat | ConditionCheckSVar$ MinDmg | ConditionSVarCompare$ GE1
SVar:NonCombatDmg:AB$ DealDamage | Cost$ 0 | Defined$ Imprinted | DamageSource$ ReplacedSource | NumDmg$ MinDmg | SubAbility$ RestDmg | ConditionCheckSVar$ MinDmg | ConditionSVarCompare$ GE1
SVar:RestDmgCombat:DB$ DealDamage | Defined$ Remembered | DamageSource$ ReplacedSource | CombatDamage$ True | NumDmg$ Y | SubAbility$ DBSetVar | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1
SVar:RestDmg:DB$ DealDamage | Defined$ Remembered | DamageSource$ ReplacedSource | NumDmg$ Y | SubAbility$ DBSetVar | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1
SVar:DBSetVar:DB$ StoreSVar | SVar$ X | Type$ CountSVar | Expression$ X/Minus.MinDmg | SubAbility$ ExileEffect2
SVar:ExileEffect2:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0
SVar:RaziaDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted | VarName$ X | References$ X
SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsImprinted,Card.IsRemembered | Execute$ ExileEffect | Static$ True
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
SVar:X:Number$3
SVar:Y:ReplaceCount$DamageAmount/Minus.X
SVar:MinDmg:ReplaceCount$DamageAmount/LimitMax.X
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/razia_boros_archangel.jpg

View File

@@ -7,7 +7,7 @@ SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | SVars$ SelflessD
SVar:SelflessDamage:Event$ DamageDone | ValidSource$ Card.ChosenCard | ReplaceWith$ SelflessDmg | Description$ The next time a source of your choice would deal damage this turn, that damage is dealt to that source's controller instead.
SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ ChosenCardController | VarType$ Player | SubAbility$ ExileEffect
SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ ReplacedSourceController | VarType$ Player | SubAbility$ ExileEffect
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile | Static$ True
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True

View File

@@ -0,0 +1,15 @@
Name:Reverberation
ManaCost:2 U U
Types:Instant
# The target lists a second zone to a Card is returned instead of a SA
A:SP$ Effect | Cost$ 2 U U | ValidTgts$ Sorcery | AILogic$ Prevent | TgtZone$ Stack,Battlefield | TgtPrompt$ Select target sorcery spell to redirect damage from | RememberObjects$ Targeted | ExileOnMoved$ Stack | ReplacementEffects$ SelflessDamage | SVars$ SelflessDmg | References$ SelflessDamage,SelflessDmg | StackDescription$ SpellDescription | SpellDescription$ All damage that would be dealt this turn by target sorcery spell is dealt to that spell's controller instead.
SVar:SelflessDamage:Event$ DamageDone | ValidSource$ Card.IsRemembered | ReplaceWith$ SelflessDmg | Description$ The next time a source of your choice would deal damage this turn, that damage is dealt to that source's controller instead.
SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ ReplacedSourceController | VarType$ Player
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/reverberation.jpg
Oracle:All damage that would be dealt this turn by target sorcery spell is dealt to that spell's controller instead.