summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp74
1 files changed, 0 insertions, 74 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index b44b793cb..437f1fe27 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -469,80 +469,6 @@ void PlayerHandler::processPlayerStatUpdate4(Net::MessageIn &msg)
BLOCK_END("PlayerHandler::processPlayerStatUpdate4")
}
-void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
-{
- BLOCK_START("PlayerHandler::processPlayerStatUpdate5")
- PlayerInfo::setAttribute(Attributes::CHAR_POINTS, msg.readInt16());
-
- unsigned int val = msg.readUInt8();
- PlayerInfo::setStatBase(EA_STR, val);
- if (statusWindow)
- statusWindow->setPointsNeeded(EA_STR, msg.readUInt8());
- else
- msg.readUInt8();
-
- val = msg.readUInt8();
- PlayerInfo::setStatBase(EA_AGI, val);
- if (statusWindow)
- statusWindow->setPointsNeeded(EA_AGI, msg.readUInt8());
- else
- msg.readUInt8();
-
- val = msg.readUInt8();
- PlayerInfo::setStatBase(EA_VIT, val);
- if (statusWindow)
- statusWindow->setPointsNeeded(EA_VIT, msg.readUInt8());
- else
- msg.readUInt8();
-
- val = msg.readUInt8();
- PlayerInfo::setStatBase(EA_INT, val);
- if (statusWindow)
- statusWindow->setPointsNeeded(EA_INT, msg.readUInt8());
- else
- msg.readUInt8();
-
- val = msg.readUInt8();
- PlayerInfo::setStatBase(EA_DEX, val);
- if (statusWindow)
- statusWindow->setPointsNeeded(EA_DEX, msg.readUInt8());
- else
- msg.readUInt8();
-
- val = msg.readUInt8();
- PlayerInfo::setStatBase(EA_LUK, val);
- if (statusWindow)
- statusWindow->setPointsNeeded(EA_LUK, msg.readUInt8());
- else
- msg.readUInt8();
-
- PlayerInfo::setStatBase(EA_ATK, msg.readInt16(), false);
- PlayerInfo::setStatMod(EA_ATK, msg.readInt16());
- PlayerInfo::updateAttrs();
-
- val = msg.readInt16();
- PlayerInfo::setStatBase(EA_MATK, val, false);
-
- val = msg.readInt16();
- PlayerInfo::setStatMod(EA_MATK, val);
-
- PlayerInfo::setStatBase(EA_DEF, msg.readInt16(), false);
- PlayerInfo::setStatMod(EA_DEF, msg.readInt16());
-
- PlayerInfo::setStatBase(EA_MDEF, msg.readInt16(), false);
- PlayerInfo::setStatMod(EA_MDEF, msg.readInt16());
-
- PlayerInfo::setStatBase(EA_HIT, msg.readInt16());
-
- PlayerInfo::setStatBase(EA_FLEE, msg.readInt16(), false);
- PlayerInfo::setStatMod(EA_FLEE, msg.readInt16());
-
- PlayerInfo::setStatBase(EA_CRIT, msg.readInt16());
-
- msg.readInt16(); // manner
- BLOCK_END("PlayerHandler::processPlayerStatUpdate5")
-}
-
void PlayerHandler::processPlayerStatUpdate6(Net::MessageIn &msg)
{
BLOCK_START("PlayerHandler::processPlayerStatUpdate6")