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

Custom aura

Level 4
Joined
Feb 28, 2025
Messages
27
Hello guys
I have a question for the aura
I want to create a custom aura with a mix of different aura For exemple an aura who incrase the attack speed. In the world editor i dont know who to do this with the common aura . and also have the thron aura buff. (It is an exemple)
Someone know who to do this?
Thank you
 
Level 21
Joined
Mar 16, 2008
Messages
955
I think you could base it off any aura then just add the buffs you want. Does that work?

1742247852569.png
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
Gnuoy, my dude... you have been on this site for SEVENTEEN YEARS. There is no way you don't know by now that buffs do not work like that. Buffs do not confer effects; adding a buff doesn't add an effect; changing a buff to a different base buff does not change the effect. Buffs as configured by the OE are entirely cosmetic, though in-game they are linked to whatever the ability does (and thus removing the buff via trigger/spell steal will remove or transfer the ability's active effect).

Nost you want to use a disabled spellbook holding all the auras or make the aura abilities hidden by changing their button position to 0,-11 (yes, negative 11 use shift + double click to enter a negative value). When the 'main' aura is learned or leveled up you must change the level of all the other auras to match. This will display multiple buffs on affected units and there is no way to get around that while still using generic auras.
  • Events
    • Unit - A unit learns a skill
  • Conditions
    • (Learned hero skill) equal to MAIN_AURA
  • Actions
    • Set LVL = (Level of (Learned hero skill) for (Triggering Unit))
    • If (All conditions are true) then do (Then actions) else do (Else actions)
      • If - Conditions
        • LVL equal to 1
      • Then - Actions
        • Unit - Add SUB_AURA_1 to (Triggering Unit)
        • Unit - Add SUB_AURA_2 to (Triggering Unit)
        • Unit - Add SUB_AURA_3 to (Triggering Unit)
      • Else - Actions
        • Unit - Set level of SUB_AURA_1 for (Triggering Unit) to LVL
        • Unit - Set level of SUB_AURA_2 for (Triggering Unit) to LVL
        • Unit - Set level of SUB_AURA_3 for (Triggering Unit) to LVL
If you have many sub-auras it is considerably easier and simpler to build a list of such abilities in an ability type array and then loop over the list rather than hardcode all of the individual auras into each line.
 
Top