setting constant value MAX_HEALTH to static.