refactor
Lifepoints and XYZ management