Moved the check if hp is 0 to the GetDamage instead of Update