HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hero ability levels

10-18-2003, 09:14 PM#1
Kaluo
is there any way to detect the level of a specific hero spell via trigger? If not is there a better way then the only thing i could come up with? (Setting a variable for each such spell for each player capable of using each such spell. Then adding several extra lines to all triggers dealing with these spells)
10-18-2003, 09:39 PM#2
saus
There is a way.

Events
Unit learns a skill
Conditions
Learned skill is equal to Holy Light
Actions
Set HolyLightLevel = HolyLightLevel + 1

You use a variable to tell what level it is. You could also put Learning Hero is equal to Whatever if you want it to be a specific hero or belonging to a certain player.