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

Selected Buff Removal

Status
Not open for further replies.
Level 7
Joined
Oct 16, 2010
Messages
193
Is there a way to remove a specific buff from a hero. Ex. When the hero casts a skill he removes only that 1 buff, the other buffs will still remain there. I would like it in GUI because im not that good with Jass. Maybe a custom code can help. Thx in advance to those that can help.
 
Level 6
Joined
Apr 1, 2009
Messages
201
Something like this? The actions are under units in the editor and there is an option to remove a specific buff.

  • Remove Specific Buff
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to YourAbility
    • Actions
      • Unit - Remove YourBuff buff from (Triggering unit)
 
Status
Not open for further replies.
Top