• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

how to detect units attack damage?

Status
Not open for further replies.
Level 7
Joined
Jan 30, 2011
Messages
267
i want to create the lurker from starcraft 1 in wc3 and i have a problem with the lurkers attacks
for those who dont know the lurkers attacks:
it hits all units in a line infront of him
the line begins at the lurker (not at the attacked unit!) and ends at the maximum attack range

i wanted to solve it this way:
the lurker has a normal 1-target attack, that deals as much damage, as every single unit in the line should take at the end
a trigger triggers when a unit is damaged by the lurker and is supposed to apply the damage to all units in the line

the problem is, that the units can have different types and amounts of armor, so the damage varies
 
Level 7
Joined
Jan 30, 2011
Messages
267
i'm not making a map, i'm just making that lurker^^
but that means theres no way to savely detect the attack damage of a unit without databasing every possible damage bonus (auras, buffs, items, etc)?
 
Status
Not open for further replies.
Top