Warcraft III resources & community, 2003–2006 · archived

spellbook lvling?

5 posts
#1

spellbook lvling?

Is it possible to level up spells in spellbook? If so, how?
#2
Yeah, it's done through triggers.

thehelper.net - Unknown Vector
Leveling spells and useing hero spells
To use a hero spell in spellbook, first make it a unit spell add it to spellbook then make it a hero spell aging. To level spells you need dialog boxes
to ask which one to level each time the hero levels, my code is in the dummy map. My code has only 1 spell for easyier work but you can have 11.


Have to drop and dialog on hero leveling events, and use it's actions to allocate their hero points into that spell ID.
#3
Just ObjectID's ?? Ok...
#4
Question, because I"m curious... Could you not use upgrades to make it more simple? Not sure if this would work, thus why I'm asking.
#5
Sorry I wasn't more specific. The trigger Action you're looking for is:

Unit - Increase Level of Ability for Unit

Then apply in <ability> and <triggering unit>

It's up to you though exactly what events and conditions you want, the way in that example I linked you to is to use dialog boxes triggered when X unit levels. Then there is some IF THEN action triggers to handle which ability chosen and levels it with the above trigger I listed.

Now if you're having some kind of other problem read over that link I gave you, it has some basics on how to set up hero skill spellbooks.