I want an aura which applies a damage-over-time debuff on enemy units passing by (flame trap sort of). I got an aura which applies a working behaviour, but how do I make the behaviour deal damage to the unit over time?
The only way I came up so far is changing the "Uni Life Regeneration Bonus" to something negative, but in this way I cannot catch the unit's death via trigger (which I need for mutliple reasons).
Question: How to create a damage-over-time debuff?
(Or if all fails: Can someone catch a unit's death (easily+efficiently) via trigger even if it dies from its own negative regen?)
Create a damage effect which deals a fraction of the damage you want (Either half or a quarter or so, depending on how smooth you want the damage to be)
In the behavior, instead of a negative regen, set the periodic effect to the one you just created and set it's period to whatever number you need (If the damage effect does half the desired damage, set period to 0.5, if it does a quarter of the damage, set period to 0.25, etc. so that you have the right DPS)
If its a fire trap, you can set the damage effects death type to fire so that units that have a fire death model use it.
Create a damage effect which deals a fraction of the damage you want (Either half or a quarter or so, depending on how smooth you want the damage to be)
In the behavior, instead of a negative regen, set the periodic effect to the one you just created and set it's period to whatever number you need (If the damage effect does half the desired damage, set period to 0.5, if it does a quarter of the damage, set period to 0.25, etc. so that you have the right DPS)
If its a fire trap, you can set the damage effects death type to fire so that units that have a fire death model use it.
Thank you very much for this very quick and very detailled answer.
Hi everyone,
I want an aura which applies a damage-over-time debuff on enemy units passing by (flame trap sort of). I got an aura which applies a working behaviour, but how do I make the behaviour deal damage to the unit over time? The only way I came up so far is changing the "Uni Life Regeneration Bonus" to something negative, but in this way I cannot catch the unit's death via trigger (which I need for mutliple reasons).
Question: How to create a damage-over-time debuff?
(Or if all fails: Can someone catch a unit's death (easily+efficiently) via trigger even if it dies from its own negative regen?)
best regards,
BlacKcuD
Create a damage effect which deals a fraction of the damage you want (Either half or a quarter or so, depending on how smooth you want the damage to be)
In the behavior, instead of a negative regen, set the periodic effect to the one you just created and set it's period to whatever number you need (If the damage effect does half the desired damage, set period to 0.5, if it does a quarter of the damage, set period to 0.25, etc. so that you have the right DPS)
If its a fire trap, you can set the damage effects death type to fire so that units that have a fire death model use it.
Thank you very much for this very quick and very detailled answer.
A Modify Unit effect can also be used.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg