Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
(Ability being cast) Equal to (Your Awesome Spell)
Actions
Unit - Remove Buff C from (Target Unit Of Ability Being Cast)
Unit - Remove Buff D from (Target Unit Of Ability Being Cast)
Unit - Remove Buff E from (Target Unit Of Ability Being Cast)
That is essentially how the trigger would look. You don't really need to check whether the user has it because wc3 already does that check internally (or at least, there is no harm done if you attempt to remove an ability that the unit doesn't have). The function is under "Unit", listed as "Unit - Remove Specific Buff".
Note: In the trigger above, you can assign (Target Unit Of Ability Being Cast) to a variable so that you won't keep fetching the target in the "Unit - Remove ..." function. I just didn't use a variable in the trigger above because it is just an example.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.