• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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