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

[Trigger] Aura of Lifestealing

Status
Not open for further replies.
Level 2
Joined
Sep 17, 2007
Messages
12
Im Fairly sure you can make Unholy Aura drain Life instead of Add it, and then you can set it to effect only enemies.

Then you could trigger something along the lines of.
  • Aura of LifeStealing
  • Events
  • Time - Every 5 Seconds of Game time
  • Conditions
  • Boolean - ((Your Unit) is alive Equal to True)
  • Actions
  • Set Point = Positon of (Your Unit)
  • Set UnitGroup = Units within 900 of Point[1] matching (((Matching Unit) has buff "Your Buff) Equal to True)))
  • Unit - Set (Life of (Your Unit) to ((Life of (Your Unit) + ((Number of Units in(UnitGroup)) *5))
 
Last edited:
Level 40
Joined
Dec 14, 2005
Messages
10,532
Here's the solution, then;

  • Aura of LifeStealing
    • Events
      • Time - Every 5 Seconds of Game time
    • Conditions
      • ((Your Unit) is alive Equal to True)
    • Actions
      • Set Point = Positon of (Your Unit)
      • Set UnitGroup = Units within 900 of Point matching (((Matching Unit) has buff Your Buff) Equal to True)))
      • Unit - Set Life of (Your Unit) to ((Life of (Your Unit)) + ((Number of Units in(UnitGroup)) * 5))
      • Custom script: call DestroyGroup(udg_UnitGroup)
      • Custom script: call RemoveLocation(udg_Point)
 
Status
Not open for further replies.
Top