mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Kaervek purge: add Cleanup
This commit is contained in:
@@ -2,7 +2,8 @@ Name:Kaervek's Purge
|
||||
ManaCost:X B R
|
||||
Types:Sorcery
|
||||
A:SP$ Destroy | Cost$ X B R | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberLKI$ True | SubAbility$ DBDamage | References$ X | SpellDescription$ Destroy target creature with converted mana cost X. If that creature dies this way, CARDNAME deals damage equal to the creature's power to the creature's controller.
|
||||
SVar:DBDamage:DB$DealDamage | Defined$ TargetedController | NumDmg$ Z | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | References$ Y,Z
|
||||
SVar:DBDamage:DB$DealDamage | Defined$ TargetedController | NumDmg$ Z | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | References$ Y,Z | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:X:Targeted$CardManaCost
|
||||
SVar:Y:Remembered$Amount
|
||||
SVar:Z:RememberedLKI$CardPower
|
||||
|
||||
Reference in New Issue
Block a user