Made the random characters level 36.

They are meant to make testing faster, after all. No point in
restricting them from fully testing items.
This commit is contained in:
dongresource 2020-08-25 04:17:47 +02:00
parent 113ce0af07
commit 9aa9b76826

View File

@ -58,7 +58,7 @@ void CNLoginServer::handlePacket(CNSocket* sock, CNPacketData* data) {
for (int i = 0; i < charCount; i++) { for (int i = 0; i < charCount; i++) {
sP_LS2CL_REP_CHAR_INFO charInfo = sP_LS2CL_REP_CHAR_INFO(); sP_LS2CL_REP_CHAR_INFO charInfo = sP_LS2CL_REP_CHAR_INFO();
charInfo.iSlot = (int8_t)i + 1; charInfo.iSlot = (int8_t)i + 1;
charInfo.iLevel = (int16_t)1; charInfo.iLevel = (int16_t)36;
charInfo.sPC_Style.iPC_UID = rand(); // unique identifier for the character charInfo.sPC_Style.iPC_UID = rand(); // unique identifier for the character
charInfo.sPC_Style.iNameCheck = 1; charInfo.sPC_Style.iNameCheck = 1;
charInfo.sPC_Style.iGender = (i%2)+1; // can be 1(boy) or 2(girl) charInfo.sPC_Style.iGender = (i%2)+1; // can be 1(boy) or 2(girl)