• 🏆 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 Aura Buff

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,765
^ topic.

Im trying to make toggleable auras, except when i remove an aura and add a new one, the buff lingers for a bit. I try to enum all units with the buff and remove it but the buff still remains. Does UnitRemoveAbility() not work for aura buffs or is my coding off?
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Here's a test map, it works fine for me.

Also, AFAIK, when you remove a buff from a unit, and add a new level buff (Level 2 and above), it will remain at Level 1 for 2~3 seconds before it gets leveled up correctly with the buff level.
Yeah, Blizzard..
 

Attachments

  • Remove Buff Immediately.w3x
    12.8 KB · Views: 87
Status
Not open for further replies.
Top