Changed return 0 to getMaxHealth()