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

Damage Aura

Level 14
Joined
Jan 24, 2017
Messages
280
I would like to have a permanenet ability for a unit, that deals 2% damage to enemies units around the owner of the unit. Is there an easy ability I can use as base ability?
I used regen aura with negative values, but it did not seem to affect enemy units. (I think only when they are damaged).
 
Level 25
Joined
Mar 29, 2020
Messages
1,466
regen aura is hardcoded to only affect units with health missing. a simple non-trigger workaround for this could be to also have a passive immolation effect added to the unit that will do 1dps and get the other effect going.

a more accurate way to do this would be to add another ghost ability that just adds a buff to the enemy units in range. then if a unit with this buff has full health - remove 1hp from them. I can show you how to do this later.
 
Level 14
Joined
Jan 24, 2017
Messages
280
regen aura is hardcoded to only affect units with health missing. a simple non-trigger workaround for this could be to also have a passive immolation effect added to the unit that will do 1dps and get the other effect going.

a more accurate way to do this would be to add another ghost ability that just adds a buff to the enemy units in range. then if a unit with this buff has full health - remove 1hp from them. I can show you how to do this later.
I was just hoping there is a no trigger way, without using immolation. But that works :)
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,877
Here's an example map. I designed it to be a Hero ability but it works fine as a Normal ability as well.

Map requires latest patch to open.

Edit: Attached another version that prevents damage stacking from multiple sources on the same target.
 

Attachments

  • Damage Aura 1.w3m
    22.3 KB · Views: 8
  • Damage Aura 2 no stack.w3m
    23 KB · Views: 6
Last edited:
I would like to have a permanenet ability for a unit, that deals 2% damage to enemies units around the owner of the unit. Is there an easy ability I can use as base ability?
I used regen aura with negative values, but it did not seem to affect enemy units. (I think only when they are damaged).
One solution is:

Screenshot 2024-09-12 074029.png
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,877
That is an easy solution! :D
I am not sure about the interval of the Unholy Aura and it says "Data - Life Regeneration Increase (%)", does that really it substracts 2% or does it work with other times of regen?
Just keep in mind that you're not "dealing damage" when using Unholy Aura or something like that.

This means kill credit won't be given, so no gold bounty, experience, or "killing unit":
  • Events
    • Unit - A unit Dies
  • Conditions
    • (Unit-type of (Killing unit)) Equal to SomeUnit
Also, no interaction with any kind of damage detection system:
  • Events
    • Unit - A unit Takes damage
 
Level 14
Joined
Jan 24, 2017
Messages
280
Just keep in mind that you're not "dealing damage" when using Unholy Aura or something like that.

This means kill credit won't be given, so no gold bounty, experience, or "killing unit":
  • Events
    • Unit - A unit Dies
  • Conditions
    • (Unit-type of (Killing unit)) Equal to SomeUnit
Also, no interaction with any kind of damage detection system:
  • Events
    • Unit - A unit Takes damage
That is a good insight!
 
Top