ability to activate at hero level 6

Status
Not open for further replies.
IIRC, wasn't there an event Unit - A hero gains a level? If there is:

I'm going to assume your ability's effect is through triggers.
Compare the integer level of the hero if it is = 6, if so, enable the trigger for that ability/make unit cast the ability if you want it casted as soon as the hero hits 6.

If the ability effect is not triggered, the ability that should be leveled should be a dummy ability which does nothing. After hero gains level 6, replace that ability with the one that actually works.
 
If each player only has 1 hero this logic should be applied to there is another solution You can use a techtree upgrade for the ability called "Level Six" that starts unresearched for all players. When their hero becomes level 6, set the upgrade to researched with the trigger action. Until you set the research the ability will be visible but darkened and unclickable.
 
Status
Not open for further replies.
Back
Top