mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
cards: update all cards that use DamageDone Replacement with DealDamage Effect
This commit is contained in:
@@ -6,37 +6,23 @@ Types:Instant
|
||||
A:SP$ ChoosePlayer | Cost$ X R W | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | Choices$ TargetedPlayer | Defined$ You | SubAbility$ DBChooseCreature | StackDescription$ SpellDescription | SpellDescription$ The next X damage that would be dealt to target creature or player this turn is dealt to another target creature or player instead.
|
||||
SVar:DBChooseCreature:DB$ ChooseCard | DefinedCards$ Targeted | Mandatory$ True | Defined$ You | SubAbility$ DBSetVarBefore
|
||||
|
||||
SVar:DBSetVarBefore:DB$ StoreSVar | SVar$ Z | Type$ CountSVar | Expression$ X | SubAbility$ DBEffect
|
||||
SVar:DBSetVarBefore:DB$ StoreSVar | SVar$ Y | Type$ CountSVar | Expression$ X | SubAbility$ DBEffect
|
||||
|
||||
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player | TargetUnique$ True | TgtPrompt$ Select target creature or player to redirect the damage to | ReplacementEffects$ Combat,NonCombat | Triggers$ OutOfSight | SVars$ Combat,NonCombat,CombatDmg,NonCombatDmg,RestDmgCombat,RestDmg,DBSetVar,ExileEffect,ExileEffect2,OutOfSight,X,Y,Z,MinDmg,RC,RCP,RCC | References$ Combat,NonCombat,OutOfSight,CombatDmg,NonCombatDmg,RestDmgCombat,RestDmg,ExileEffect,ExileEffect2,X,Y,Z,MinDmg,RC,RCP,RCC | RememberObjects$ ThisTargetedCard,ThisTargetedPlayer | SubAbility$ DBCleanup
|
||||
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player | TargetUnique$ True | TgtPrompt$ Select target creature or player to redirect the damage to | ReplacementEffects$ ManeuverDamage | Triggers$ OutOfSight | SVars$ ManeuverDamage,ManeuverDmg,ExileEffect,OutOfSight,Y | References$ ManeuverDamage,OutOfSight,ManeuverDmg,ExileEffect,Y | RememberObjects$ ThisTargetedCard,ThisTargetedPlayer | SubAbility$ DBCleanup
|
||||
|
||||
SVar:Combat:Event$ DamageDone | ValidTarget$ Card.Creature+ChosenCard,Player.Chosen | IsCombat$ True | ReplaceWith$ CombatDmg | CheckSVar$ RC | Description$ The next Z damage that would be dealt to target creature or player this turn is dealt to another target creature or player instead.
|
||||
SVar:NonCombat:Event$ DamageDone | ValidTarget$ Card.Creature+ChosenCard,Player.Chosen | IsCombat$ False | ReplaceWith$ NonCombatDmg | CheckSVar$ RC | Secondary$ True | Description$ The next Z damage that would be dealt to target creature or player this turn is dealt to another target creature or player instead.
|
||||
SVar:ManeuverDamage:Event$ DamageDone | ValidTarget$ Card.Creature+ChosenCard,Player.Chosen | ReplaceWith$ ManeuverDmg | DamageTarget$ Remembered | References$ Y | Description$ The next Y damage that would be dealt to target creature or player this turn is dealt to another target creature or player instead.
|
||||
|
||||
SVar:CombatDmg:AB$ DealDamage | Cost$ 0 | Defined$ Remembered | DamageSource$ ReplacedSource | CombatDamage$ True | NumDmg$ MinDmg | SubAbility$ RestDmgCombat | ConditionCheckSVar$ MinDmg | ConditionSVarCompare$ GE1
|
||||
SVar:NonCombatDmg:AB$ DealDamage | Cost$ 0 | Defined$ Remembered | DamageSource$ ReplacedSource | NumDmg$ MinDmg | SubAbility$ RestDmg | ConditionCheckSVar$ MinDmg | ConditionSVarCompare$ GE1
|
||||
|
||||
SVar:RestDmgCombat:DB$ DealDamage | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | CombatDamage$ True | NumDmg$ Y | SubAbility$ DBSetVar | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1
|
||||
SVar:RestDmg:DB$ DealDamage | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ Y | SubAbility$ DBSetVar | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1
|
||||
|
||||
SVar:DBSetVar:DB$ StoreSVar | SVar$ Z | Type$ CountSVar | Expression$ Z/Minus.MinDmg | SubAbility$ ExileEffect2
|
||||
SVar:ExileEffect2:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile | ConditionCheckSVar$ Z | ConditionSVarCompare$ LE0
|
||||
SVar:ManeuverDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered | 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 | ClearChosenPlayer$ True
|
||||
|
||||
SVar:RCC:Count$Valid Creature.IsRemembered
|
||||
SVar:RCP:PlayerCountRemembered$Amount
|
||||
SVar:RC:SVar$RCC/Plus.RCP
|
||||
|
||||
SVar:X:Count$xPaid
|
||||
#X Will get overwritten by Announce
|
||||
|
||||
SVar:Y:ReplaceCount$DamageAmount/Minus.Z
|
||||
SVar:Z:Number$0
|
||||
SVar:MinDmg:ReplaceCount$DamageAmount/LimitMax.Z
|
||||
SVar:Y:Number$0
|
||||
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/captains_maneuver.jpg
|
||||
|
||||
@@ -1,19 +1,18 @@
|
||||
Name:Carom
|
||||
ManaCost:1 W
|
||||
Types:Instant
|
||||
A:SP$ Pump | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect damage to | ImprintTargets$ True | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ The next 1 damage that would be dealt to target creature this turn is dealt to another target creature instead. Draw a card.
|
||||
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect damage from | TargetUnique$ True | ReplacementEffects$ SelflessCombat,SelflessNonCombat | Triggers$ OutOfSight | SVars$ CombatDmg,NonCombatDmg,RestDmgCombat,RestDmg,ExileEffect,X,Y | References$ SelflessCombat,SelflessNonCombat,OutOfSight,CombatDmg,NonCombatDmg,RestDmgCombat,RestDmg,ExileEffect,X,Y | RememberObjects$ Targeted | ImprintCards$ Imprinted | SubAbility$ DBCleanup
|
||||
SVar:SelflessCombat:Event$ DamageDone | ValidTarget$ Card.IsRemembered | IsCombat$ True | ReplaceWith$ CombatDmg | IsPresent$ Creature.IsImprinted | Description$ The next 1 damage that would be dealt to target creature this turn is dealt to another target creature instead.
|
||||
SVar:SelflessNonCombat:Event$ DamageDone | ValidTarget$ Card.IsRemembered | IsCombat$ False | ReplaceWith$ NonCombatDmg | Secondary$ True | IsPresent$ Creature.IsImprinted | Description$ The next 1 damage that would be dealt to target creature this turn is dealt to another target creature instead.
|
||||
SVar:CombatDmg:AB$ DealDamage | Cost$ 0 | Defined$ Imprinted | DamageSource$ ReplacedSource | CombatDamage$ True | NumDmg$ 1 | SubAbility$ RestDmgCombat | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1
|
||||
SVar:NonCombatDmg:AB$ DealDamage | Cost$ 0 | Defined$ Imprinted | DamageSource$ ReplacedSource | NumDmg$ 1 | SubAbility$ RestDmg | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1
|
||||
SVar:RestDmgCombat:DB$ DealDamage | Defined$ Remembered | DamageSource$ ReplacedSource | CombatDamage$ True | NumDmg$ X | SubAbility$ ExileEffect
|
||||
SVar:RestDmg:DB$ DealDamage | Defined$ Remembered | DamageSource$ ReplacedSource | NumDmg$ X | SubAbility$ ExileEffect
|
||||
SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Creature.IsRemembered | Execute$ ExileEffect | Static$ True
|
||||
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile | Static$ True
|
||||
SVar:X:ReplaceCount$DamageAmount/Minus.1
|
||||
SVar:Y:ReplaceCount$DamageAmount
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True | SubAbility$ DBDraw
|
||||
|
||||
A:SP$ Pump | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect the damage from | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ The next 1 damage that would be dealt to target creature this turn is dealt to another target creature instead. Draw a card.
|
||||
|
||||
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ CaromDamage | Triggers$ OutOfSight | SVars$ CaromDamage,CaromDmg,ExileEffect,OutOfSight | References$ CaromDamage,OutOfSight,CaromDmg,ExileEffect | RememberObjects$ ParentTarget | ImprintCards$ ThisTargetedCard | ExileOnMoved$ Battlefield | ConditionDefined$ ParentTarget | ConditionPresent$ Creature | ConditionCompare$ GE1 | SubAbility$ DBDraw
|
||||
|
||||
SVar:CaromDamage:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | ReplaceWith$ CaromDmg | DamageTarget$ Imprinted | Description$ The next 1 damage that would be dealt to target creature this turn is dealt to another target creature instead.
|
||||
|
||||
SVar:CaromDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted
|
||||
|
||||
SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Defined$ Imprinted | Execute$ ExileEffect | Static$ True
|
||||
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
|
||||
|
||||
SVar:DBDraw:DB$ Draw | NumCards$ 1
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/carom.jpg
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
Name:Channel Harm
|
||||
ManaCost:5 W
|
||||
Types:Instant
|
||||
A:SP$ Effect | Cost$ 5 W | ValidTgts$ Creature | Name$ Channel Harm Effect | ReplacementEffects$ ChannelHarmRep | Triggers$ OutOfSight | SVars$ DBCleanup,DamageSourceInstead,X | RememberObjects$ Targeted | AILogic$ Fog | SpellDescription$ Prevent all damage that would be dealt to you and permanents you control this turn by sources you don't control. If damage is prevented this way, you may have CARDNAME deal that much damage to target creature.
|
||||
SVar:ChannelHarmRep:Event$ DamageDone | ActiveZones$ Command | ValidTarget$ You,Permanent.YouCtrl | ValidSource$ Card.YouDontCtrl | ReplaceWith$ DamageSourceInstead | PreventionEffect$ True | Description$ Prevent all damage that would be dealt to you and permanents you control this turn by sources you don't control. If damage is prevented this way, you may have Channel Harm deal that much damage to target creature.
|
||||
SVar:DamageSourceInstead:AB$ DealDamage | Cost$ 0 | NumDmg$ X | Defined$ Remembered | DamageSouce$ EffectSource | References$ X | OptionalDecider$ You
|
||||
SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Creature.IsRemembered | Execute$ DBCleanup | Static$ True
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
A:SP$ Effect | Cost$ 5 W | ValidTgts$ Creature | ReplacementEffects$ ChannelHarmRep | Triggers$ OutOfSight | SVars$ DamageSourceInstead,X | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | AILogic$ Fog | SpellDescription$ Prevent all damage that would be dealt to you and permanents you control this turn by sources you don't control. If damage is prevented this way, you may have CARDNAME deal that much damage to target creature.
|
||||
SVar:ChannelHarmRep:Event$ DamageDone | ActiveZones$ Command | ValidTarget$ You,Permanent.YouCtrl | ValidSource$ Card.YouDontCtrl | ReplaceWith$ DamageSourceInstead | PreventionEffect$ True | Description$ Prevent all damage that would be dealt to you and permanents you control this turn by sources you don't control. If damage is prevented this way, you may have EFFECTHOST deal that much damage to target creature.
|
||||
SVar:DamageSourceInstead:DB$ DealDamage | NumDmg$ X | Defined$ Remembered | DamageSouce$ EffectSource | References$ X | OptionalDecider$ You
|
||||
SVar:X:ReplaceCount$DamageAmount
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/channel_harm.jpg
|
||||
Oracle:Prevent all damage that would be dealt to you and permanents you control this turn by sources you don't control. If damage is prevented this way, you may have Channel Harm deal that much damage to target creature.
|
||||
|
||||
Reference in New Issue
Block a user