From 9aa9b76826474edf60a2469805a576f94d3f7073 Mon Sep 17 00:00:00 2001 From: dongresource Date: Tue, 25 Aug 2020 04:17:47 +0200 Subject: [PATCH] Made the random characters level 36. They are meant to make testing faster, after all. No point in restricting them from fully testing items. --- src/CNLoginServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CNLoginServer.cpp b/src/CNLoginServer.cpp index 724468c..15a14ce 100644 --- a/src/CNLoginServer.cpp +++ b/src/CNLoginServer.cpp @@ -58,7 +58,7 @@ void CNLoginServer::handlePacket(CNSocket* sock, CNPacketData* data) { for (int i = 0; i < charCount; i++) { sP_LS2CL_REP_CHAR_INFO charInfo = sP_LS2CL_REP_CHAR_INFO(); 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.iNameCheck = 1; charInfo.sPC_Style.iGender = (i%2)+1; // can be 1(boy) or 2(girl)