mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +00:00
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:
parent
113ce0af07
commit
9aa9b76826
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user