Page 1 of 1

statically assigning types

PostPosted: 09 May 2011, 21:31
by slapshot5
r8439 - Just a heads up:

I've implemented a way for types to be granted statically.

You can use:
Types=type1[,type2][,type3][,...]

in the keyword spot of stPump, just like you use SVar= to define statically pumped abilities.

Currently, it only handles adding types "in addition to". See Urborg, Tomb of Yawgmoth for an example.

-slapshot5

Re: statically assigning types

PostPosted: 10 May 2011, 06:10
by Hellfish
Disregard | Open
Okay, first off, I don't know the stPump code that well, but shouldn't this change let all the "ranges" (like stPumpAll/Self/Enchanted/Equipped) assign types? I ask because I tried to implement Silverskin Armor like so:
Code: Select all
Name:Silverskin Armor
ManaCost:2
Types:Artifact Equipment
Text:no text
K:eqPump 2:+1/+1
K:stPumpEquipped:Creature:0/0/Types=Artifact:no Condition:Equipped creature gets +1/+1 and is an artifact in addition to its other types.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/silverskin_armor.jpg
End
When equipped to an Abbey Matron, the only result is that the Abbey Matron gets "Types=Artifact" in its text box.

EDIT: Turns out making sure you update to the actual latest revision is a good idea. :oops: Sorry about that!