128129130131132133134135136137138
break; case 0x0d: // pa = new NewCharacterSuccess(); break; case 0x0f: pa = new CharCreateOk(); break; case 0x10: pa = new CharCreateFail(); break; case 0x11:
137138139140141142143144145
newChar.setCurrentCp(0); //L2Off like newChar.setCurrentMp(newChar.getMaxMp());//L2Off like //newChar.setMaxLoad(template.baseLoad); // send acknowledgement sendPacket(new CharCreateOk()); // Success initNewChar(getClient(), newChar); } }
133134135136137138139140141142
newChar.setCurrentCp(template.baseCpMax); newChar.setCurrentMp(template.baseMpMax); //newChar.setMaxLoad(template.baseLoad); // send acknowledgement CharCreateOk cco = new CharCreateOk(); sendPacket(cco); initNewChar(getClient(), newChar); }