Added function prototype for take_damage