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

Quick question on Auras

Status
Not open for further replies.
Level 20
Joined
Apr 14, 2012
Messages
2,901
I've been wondering lately: do all Auras MUI? Like, say the hero has an aura that gives him 5 health every time he kills a unit. Now since I can't start the trigger with the Event a unit starts the effect of an abil, I have to go straight to the A Unit dies event now don't I? Then the next step is to check who killed who and if he had the aura, afterwards proceed accordingly.

If that's all it takes, then would it work for multiple instances of the aura-carrying heroes? How about for other types of auras?
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Well, there is no aura that gives 5 health every kill...

Auras are buff's, you just need to trigger it detecting if the killer unit has X buff and apply your desired effect.
 
Level 20
Joined
Apr 14, 2012
Messages
2,901
So like this?
  • Events
    • Unit - A unit kills a unit
  • Conditions
  • Actions
    • if (All conditions are true) then do (Then - Actions) else do (Else - Actions)
      • If - Conditions
        • (triggering unit) has KillBuff
      • Then - Actions
        • Give (triggering unit) + 5.00 life
      • Else - Actions
This would work for multiple units possessing the buff?
 
Status
Not open for further replies.
Top