Granting abilities with stPump
I've just made a first draft to implement cards like Armor Sliver. I used a reference to a SVar which contains the ability. The spellAbility granted has the type "Temporary" and will be removed every status check. Example:
Any comments or suggestions?
- Code: Select all
Name:Armor Sliver
ManaCost:2 W
Types:Creature Sliver
Text:no text
PT:2/2
K:stPumpAll:Creature.Sliver:0/0/SVar=Pump:no Condition:All Sliver creatures have "2 This creature gets +0/+1 until end of turn."
SVar:Pump:AB$Pump | Cost$ 2 | NumDef$ +1 | SpellDescription$ CARDNAME gets +0/+1 until end of turn.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/armor_sliver.jpg
End
Any comments or suggestions?