• 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.

need help

Status
Not open for further replies.
Level 5
Joined
Nov 25, 2004
Messages
65
is there any possible way to block or remove negative physical buffs just like the spell shield ability blocks magic buffs? if can, will be it in trigger(GUI) or jass?
 
Level 5
Joined
Nov 25, 2004
Messages
65
I think he means things like ensnare, poison and disease.

yes this is correct. also, example of other negative physical buffs are dyrad's poison dart, phoenix's fire, frost wyrm's cold slowing effect etc. so my question is, is there any way possible to make unit immune to these effect?
 
Level 8
Joined
Mar 12, 2008
Messages
437
yes this is correct. also, example of other negative physical buffs are dyrad's poison dart, phoenix's fire, frost wyrm's cold slowing effect etc. so my question is, is there any way possible to make unit immune to these effect?

Well, there is a trigger that allows you to remove all physical buffs. You can do something like this, perhaps:
  • Events
    • Time - Every 0.25 seconds of game time
  • Conditions
  • Actions
    • Unit - Remove All buffs considered Physical from <UNIT> (Exclude expiration timers, Exclude auras)
    • Unit - Remove All buffs considered Magical and physical from <UNIT> (Exclude expiration timers, Exclude auras)
The smaller time interval you use in the event, the more precise will it be, but it will also lag a bit more (I think).
 
Status
Not open for further replies.
Top