• 🏆 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!

HIVE

Tasyen
Tasyen
Item abilities are also abilities owned by the unit while it is equiped.
Set works directly = 0 means using a BlzSetAbilityxxxxField will not change the current power/boni. Sometimes one can enforce an update by doing something to the ability.

IncUnitAbilityLevel/DecUnitAbilityLevel (does mostly not work with abilities only supporting 1 level)
Disable/Enable Ability

if neither works then i don't know how.
Barade
Barade
Thx. I think I have tried SetUnitAbilityLevel(whichUnit, 1) for the unit carrying the item. I will try disable and enable or something. Too bad that Blizzard fucked this up.
Tasyen
Tasyen
IncUnitAbilityLevel/DecUnitAbilityLevel also works for abilities without any object Editor setup for Lvl 2. SetUnitAbilityLevel needs Lvl 2 to work.
Top