I had a thought last night of a turret that deals damage based on a percentage of its targets max HP, so that no matter how strong the unit is, for example, it kills it in 5 hits.
So I was wondering if this could be done in data rather than triggers to have it somehow effect all units the same regardless of their armor, shields, etc.
Since every unit has it's own "strong against/weak against" just adding every buff to the turret damage would make it rediculous vs. smaller units.
Make it that your ability kills all shields instantly and does a % of the units hp. Under the damage effect you find fields determining how much armor reduces the damage and what it is strong and weak against attribute wise.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
If you want it to kill in 5 hits, make life fraction and shield fraction to 0.2, thx DrSuperEvil for reminding me. If you would kill all it's shields instantly, it wouldn't be absolute total health % based and it would be a very effective way of getting rid of all shields and having other units kill it. Rather just take a percentage of shields and health off.
Armor is ignored by default with new effects
and if with "Strong against/Weak Against" you mean what it shows in the help menu, it doesn't have anything do with damage (sorry, last part of your post confuses me a bit...)
I had a thought last night of a turret that deals damage based on a percentage of its targets max HP, so that no matter how strong the unit is, for example, it kills it in 5 hits.
So I was wondering if this could be done in data rather than triggers to have it somehow effect all units the same regardless of their armor, shields, etc.
Since every unit has it's own "strong against/weak against" just adding every buff to the turret damage would make it rediculous vs. smaller units.
Any thoughts?
make a damage effect, find the field that says "Vitals", open, modify "life" to the percentage you want (in decimals. 1 = 100%, 0.01 = 1%)
Make it that your ability kills all shields instantly and does a % of the units hp. Under the damage effect you find fields determining how much armor reduces the damage and what it is strong and weak against attribute wise.
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
If you want it to kill in 5 hits, make life fraction and shield fraction to 0.2, thx DrSuperEvil for reminding me. If you would kill all it's shields instantly, it wouldn't be absolute total health % based and it would be a very effective way of getting rid of all shields and having other units kill it. Rather just take a percentage of shields and health off.
Armor is ignored by default with new effects
and if with "Strong against/Weak Against" you mean what it shows in the help menu, it doesn't have anything do with damage (sorry, last part of your post confuses me a bit...)
@TheAlmaity: Go
nono you were right - But yes, that sounds exactly like what I was thinking about. Interesting idea.