What should I change to make my char start with full hp? currently when I create new char his HP is set to 80/314, see link for image http://joxi.ru/J2bN6NPsdbok26
I believe I should change smth in .setCurrentHp(template.getBaseHpMax()); but im not sure what exactly to do.
int objectId = IdFactory.getInstance().getNextId();
L2PcInstance newChar = PlayerEnteringManager.getInstance().create(objectId, template, getClient().getAccountName(), _name, _hairStyle, _hairColor, _face, _sex != 0);
newChar.getStatus().setCurrentHp(template.getBaseHpMax());
newChar.getStatus().setCurrentCp(template.getBaseCpMax());
newChar.getStatus().setCurrentMp(template.getBaseMpMax());