When attacker is in attacking animation, target may be already out of range what sometimes leads to attacker dealing damage to target that is no longer in attacker`s attack range.
Steps to reproduce:
attacker: melee unit
target: fleeing unit
notice fleeing unit receives damage while is clearly out of range of attacker