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