statically assigning types
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
2 posts
• Page 1 of 1
statically assigning types
by slapshot5 » 09 May 2011, 21:31
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
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
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: statically assigning types
by Hellfish » 10 May 2011, 06:10
- 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
EDIT: Turns out making sure you update to the actual latest revision is a good idea.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-

Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 26 guests