• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Auras question...

Status
Not open for further replies.
Level 10
Joined
Mar 17, 2012
Messages
582
Hi everyone!
Does anyone know how to make an aura buff to "last" less than 2 seconds after leaving the range of aura's AoE?

I have a spell (aura) that every 0.1 seconds deals triggered damage to units that have an aura effect, but even if unit runs 100500 kilometers away from me (owner of aura) he keeps taking damage a few seconds.
:thumbs_down:
 
Probably because, in your trigger that runs every 0.1 seconds, you check to see if the target has a dummy aura buff. So like all non-triggered auras, the effect lasts for a tiny bit once the unit is out of range.

The fix is to trigger the aura's AoE yourself with EnumUnitsInRange and adding them to a global group. Raise the timer to like 0.5 seconds, and only add new units to the group once they're in range, and remove units respectively.
 
Okay, I'm gonna show you a video:
https://www.youtube.com/watch?v=usLw...ature=youtu.be

If there is no way to make a buff last less - could you advice me an alternative buff (like Immolation (I'm not sure that there is any buff on a target))

The first reply already explained everything you need to know.
In short, there is no other way or else everyone would be doing it.
 
The first reply already explained everything you need to know.
In short, there is no other way or else everyone would be doing it.

There is! And I found it! It is Immolation (illidan's one). I set duration 0.25 and damage 1. Then I check if unit has a buff Immolation and deal damage every 0.1 seconds.

wualah! :thumbs_up:
 
Status
Not open for further replies.
Back
Top