• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Is there a way to make Buff effect from an aura last in time ?

Status
Not open for further replies.
Well, if it's an armor aura, you can periodically pick every unit that has GetUnitAbilityLevel(GetEnumUnit(), 'AuraRawCode') > 0 (Level of the Aura ability Greater than 0) and, additionally pick every nearby unit that doesn't have the buff of the aura and belongs to an ally of your picked unit. If this returns true, then create a dummy, add an expiration timer of 1 second and order it to Human Priest - Inner Fire (Picked unit).

That's some Jass and GUI involved in there :P
It's because I don't know which one you are going to use anyway.
 
Status
Not open for further replies.
Back
Top