• 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.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

[Solved] Aura dealing damage

Status
Not open for further replies.
Level 9
Joined
Feb 20, 2014
Messages
409
Hi everyone, here is my trigger
(It damages myself and my allies but it is supposed to only damage enemies)
What's wrong then?
  • Event
    • Time- Every 1.00 seconds of game time
  • Actions
    • Set intellE = (Intelligence of Archangel (Include bonuses))
    • Set intell = (Real(intellE))
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Level of Radiance aura for Archangel) Egal à 1
      • Then - Actions
        • Unit Group - Pick every unit in (Units within 800.00 of (Position of Archangel) matching (((Picked unit) belongs to an enemy of (Owner of Archangel)) Equal to TRUE)) and do (Actions)
          • Boucle - Actions
            • Unit - Cause Archangel to damage (Picked unit), dealing (intell x 0.15) damage of attack type Sorts and damage type Universel
      • Sinon - Actions
 
Status
Not open for further replies.
Top