Warcraft III resources & community, 2003–2006 · archived

Learn ability for hero

4 posts
#1

Learn ability for hero

My hero only has 1 ability thourough the game but, whenever it reaches a certain lvl, it would be like level 10, how would i put it so, that it learn a new custom spell added to its list. Learn Skill at level 10.
It would automatically be added at level 10.
#2
Heres a trigger that should work:

Events:
Unit reaches lvl 10
Conditions:
Unit equal to (your unit)
Actions:
Unit - Add (your ability) to (your unit)

OR

Events:
A unit gains a level
Conditions:
Leveling unit equal to (your unit)
Level gained equal to level 10
Actions:
Add ability (your ability) to (your unit)

It should be something around those lines... PM me if you want a more exact trigger.
#3
ah I see, I knew I missed a part of the trigger, Ill try it that way then, see how it works thankz. Yes it works , forgot to add that condition heh thx lord
#4
Hey that's what I'm here for ^^