Working maxHealth attribute overriding