Page 1 of 1
Granting abilities with stPump

Posted:
01 Feb 2011, 16:55
by Sloth
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:
- 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
The word "Pump" can be anything (just like for the Trigger and DB system).
Any comments or suggestions?
Re: Granting abilities with stPump

Posted:
01 Feb 2011, 16:57
by Rob Cashwalker
Precisely as I intended.
Re: Granting abilities with stPump

Posted:
01 Feb 2011, 17:07
by friarsol
Looks good. I just checked and didn't notice any cards that grant abilities with limited uses (like Rootwalla) as a static effect which is the strangest interaction I can think of between the temporariness of the AB.
Re: Granting abilities with stPump

Posted:
01 Feb 2011, 17:32
by Hellfish
Not sure how to best phrase this... Is it recursive? I.e. can it grab eventual other SVars referenced by the ability, say for a subability?
Re: Granting abilities with stPump

Posted:
01 Feb 2011, 17:40
by Sloth
Hellfish wrote:Not sure how to best phrase this... Is it recursive? I.e. can it grab eventual other SVars referenced by the ability, say for a subability?
I guess subabilities should work, since they are created together with the ability. XCount SVar's will not work, since they won't get copied onto the affected card.
Re: Granting abilities with stPump

Posted:
01 Feb 2011, 17:44
by Hellfish
Maybe being able to specify a list of SVars to "pump" as well would help that, both subabilities and Count$'s?
Re: Granting abilities with stPump

Posted:
01 Feb 2011, 20:25
by lazylockie
So even stuff like Necrotic Sliver would work now? Nice!
On a side note, this makes one step closer to Koth of the Hammer with triggers!
Re: Granting abilities with stPump

Posted:
01 Feb 2011, 20:45
by Sloth
Hellfish wrote:Maybe being able to specify a list of SVars to "pump" as well would help that, both subabilities and Count$'s?
Yes that would be possible. I have some ideas how to handle that.
EDIT: This feature is also complete. If the SVar specified in the keyword section is no ability it will be copied as an SVar to the affected card.
Example:
- Code: Select all
Name:Magma Sliver
ManaCost:3 R
Types:Creature Sliver
Text:no text
PT:3/3
K:stPumpAll:Sliver:0/0/SVar=Pump & SVar=SliversOnBattlefield:no Condition:All Slivers have "T: Target Sliver creature gets +X/+0 until end of turn, where X is the number of Slivers on the battlefield."
SVar:Pump:AB$Pump | Cost$ T | ValidTgts$ Creature.Sliver | NumAtt$ +SliversOnBattlefield | SpellDescription$ Target Sliver creature gets +X/+0 until end of turn, where X is the number of Slivers on the battlefield.
SVar:SliversOnBattlefield:Count$TypeOnBattlefield.Sliver
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/magma_slive.jpg
End
Just be sure to give the SVar to copy a unique name not to overwrite other SVar's.
Re: Granting abilities with stPump

Posted:
03 Feb 2011, 02:47
by Zirbert
This is terrific. I had been looking longingly at Necrotic Sliver, but didn't see a way to make it work before now. Thanks to all involved!
-Zirbert
Re: Granting abilities with stPump

Posted:
03 Feb 2011, 03:42
by Rob Cashwalker
Now just need to make the same theory work for AB$Pump