• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Removing hero ability help!

Status
Not open for further replies.
Level 12
Joined
Jan 4, 2014
Messages
543
Hi i need help!
Basically i want to remove a hero ability once it reaches level 7 and replace it with another ability (So i can have a different icon).
I did this
fwIqn7A.png

Unfortunatly this causes the ability "Dawnwing" to, instead of being completely removed, be set to level 0, which means my hero can just learn the ability all over again. In the end of this trigger i have "Ysera's Blessing" spell and a relearn-able Level 0 "Dawnwing" spell.
 
Level 24
Joined
Aug 1, 2013
Messages
4,657
it does get removed...
hero learn abilities are directly get from the unit type base hero abilities in the object editor.
at start, all abilities will be 0, so you dont have those abilities.
When you learn an ability to level 1, you gain the ability and all other times, you just level it up.

when you remove the ability, you remove the ability...
 
Status
Not open for further replies.
Top