• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Divine Shield Buff Removing

Status
Not open for further replies.
Level 3
Joined
Jun 15, 2006
Messages
25
Is there a way to make divine shield remove buffs like stunn, sleep, silence and shuch wich you cant cast anny spells to trigger a trigger or is there spells or events that can be detected by triggers to activite remove buffs and invurnable trigger?
 
Level 9
Joined
May 27, 2006
Messages
498
There is simple method to remove buffs from unit and you can do it using this trigger:
  • Events:
  • Unit - A unit is casting a spell
  • Conditions:
  • Ability being cast = Divine Shield
  • Actions:
  • Unit - Remove specific buff from [u](your hero/unit)[/u]
But this won`t work for stun, sleep, silence, because u can`t cast any spell... You could make some kind of aura or dumby unit, that negates buffs like stun ;S Then it would look like that:
  • Events:
  • Unit - A unit is casting a spell
  • Conditions:
  • If unit-type of (target of ability being cast) = [u](your hero/unit)[/u]
  • If [u](your hero/unit)[/u] has Stun buff equal to TRUE or (and another buffs, sleep, silence etc.)
  • If [u](your hero/unit)[/u] has Anti-buff Aura buff equal to TRUE
  • Actions:
  • Unit - Remove specific buff from [u](your hero/unit)[/u]
But that`s not the best way, im sure this could be done better, but i dont know how :S
 
Status
Not open for further replies.
Top