I want to make a dmg spell, AOE or not, doesnt matter.
What i want is, the less distance between the caster and the target, the higher the damage should be.
Of course that should be no problem with triggers, but is there a way to do it with data only ?
I want to make a dmg spell, AOE or not, doesnt matter. What i want is, the less distance between the caster and the target, the higher the damage should be. Of course that should be no problem with triggers, but is there a way to do it with data only ?
Yep, you need to set up your search area correctly, so that it links to different damage effects in different ranges.
So in range of 2 it will link to high damage in the search range 2 - 5 it will do mid damage etc
Else just have a Switch effect that uses a few Location Range validators linking to different damage effects.
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
thx guys, both solutions seem to fit well.