• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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