Currently if unit is damaged with 0, it is marked as injured.
Do not do anything when damage is 0.
Do not mark units as injured when they are full health and killed at one shot.
What happens on death has been moved to separate function.
Applied early returns.