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

How to make aura that gives determined addonital dmg and not dmg by %

Status
Not open for further replies.
Level 3
Joined
Nov 12, 2018
Messages
43
This works, if only one unit has the aura.
  • Your Aura
    • Ereignisse
      • Zeit - Every 0.05 seconds of game time
    • Bedingungen
    • Aktionen
      • Set temp_LocationCaster = (Position of YourUnit)
      • Set Affected_Units = (Units within Aura_Range of temp_LocationCaster matching (((Matching unit) has buff Befehls-Aura) Gleich True))
      • Einheitengruppe - Pick every unit in Affected_Units and do (Actions)
        • Schleifen - Aktionen
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • ((Picked unit) has buff Befehls-Aura) Gleich True
            • 'THEN'-Aktionen
              • Einheit - Set Base Damage of (Picked unit) to ((Base Damage of (Picked unit) for weapon index 1) + 2) for weapon index: 1
              • Einheit - Set Base Damage of (Picked unit) to ((Base Damage of (Picked unit) for weapon index 2) + 2) for weapon index: 2
            • 'ELSE'-Aktionen
              • Einheit - Set Base Damage of (Picked unit) to (Base Damage of (Picked unit) for weapon index 1) for weapon index: 1
              • Einheit - Set Base Damage of (Picked unit) to (Base Damage of (Picked unit) for weapon index 2) for weapon index: 2
              • Einheitengruppe - Remove (Picked unit) from Affected_Units
      • Custom script: call RemoveLocation(udg_temp_LocationCaster)
If you want multiple units to use this aura at once, you have to add them to a UnitGroup and run the mentioned trigger per Position of PickedUnit.
However I wouldn't recomend to many units with this aura, as this solution gets laggy with masses of units.

(Sorry for some german words. My editor is german.)
 
Last edited:
Status
Not open for further replies.
Top