Refactored health/max_health in the client