-Exp update almost works, but inital at zonein is broken

-MoveItem has opcode now but is not translating correctly.
This commit is contained in:
KimLS
2024-12-02 23:36:13 -08:00
parent af8f85cfd9
commit 32a1d7c43e
4 changed files with 14 additions and 10 deletions
+1 -9
View File
@@ -542,15 +542,7 @@ void Client::SendZoneInPackets()
if (tmpxp1 != tmpxp2 && tmpxp1 != 0xFFFFFFFF && tmpxp2 != 0xFFFFFFFF) {
float tmpxp = (float)((float)m_pp.exp - tmpxp2) / ((float)tmpxp1 - tmpxp2);
//Laurion uses a more granular exp bar than other clients
if (m_ClientVersion >= EQ::versions::ClientVersion::Laurion) {
eu->exp = (uint32)(100000.0f * tmpxp);
}
else {
eu->exp = (uint32)(330.0f * tmpxp);
}
eu->exp = (uint32)(330.0f * tmpxp);
FastQueuePacket(&outapp);
}
else {