containment_breach.txt fix ValidTgts

This commit is contained in:
Northmoc
2021-04-08 11:07:16 -04:00
parent dc56cb382b
commit e7a5ffdf5f

View File

@@ -1,8 +1,8 @@
Name:Containment Breach
ManaCost:2 G
Types:Sorcery Lesson
A:SP$ Destroy | Cost$ 2 G | ValidTgts$ Artifact | SubAbility$ TrigToken | SpellDescription$ Destroy target artifact. If its mana value is 2 or less, create a 1/1 black and green Pest creature token with “When this creature dies, you gain 1 life.”
SVar:TrigToken:DB$Token | TokenScript$ bg_1_1_pest_lifegain | TokenOwner$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ LE2
A:SP$ Destroy | Cost$ 2 G | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | SubAbility$ TrigToken | SpellDescription$ Destroy target artifact or enchantment. If its mana value is 2 or less, create a 1/1 black and green Pest creature token with “When this creature dies, you gain 1 life.”
SVar:TrigToken:DB$ Token | TokenScript$ bg_1_1_pest_lifegain | ConditionCheckSVar$ X | ConditionSVarCompare$ LE2
SVar:X:Targeted$CardManaCost
DeckHas:Ability$Token
DeckHas:Ability$Token & Ability$LifeGain
Oracle:Destroy target artifact or enchantment. If its mana value is 2 or less, create a 1/1 black and green Pest creature token with "When this creature dies, you gain 1 life."