mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 00:06:36 +00:00
-Exp update almost works, but inital at zonein is broken
-MoveItem has opcode now but is not translating correctly.
This commit is contained in:
+1
-9
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user