Just_kill
New Member
- Reaction score
- 0
I have made a map were you need to buy your spells. but the problem is that I don't know how to upgrade them. I'm trying to make it like every time you buy the spell he gets one more level, how do I do that.?
this would be how it got to look like.Trigger:
- Animate Dead
- Events
- Unit - A unit Acquires an item
- Conditions
- (Item-type of (Item being manipulated)) Equal to Animate Dead
- Actions
- Item - Remove (Item being manipulated)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of (Animate Dead) for (Hero manipulating item)) Equal 0
- Then - Actions
- Unit - Add Animate Dead to (Hero manipulating item)
- Else - Actions
- Unit - Increase level of Animate Dead for (Hero manipulating item)
- Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Objects\Spawnmodels\Other\ToonBoom\ToonBoom.mdl