summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index e4e65dbb9..92ce69f4f 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -58,6 +58,7 @@ PlayerHandler::PlayerHandler() :
SMSG_PLAYER_GET_EXP,
SMSG_PVP_INFO,
SMSG_PLAYER_HEAL,
+ SMSG_PLAYER_SKILL_MESSAGE,
0
};
handledMessages = _messages;
@@ -125,6 +126,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
processPlayerHeal(msg);
break;
+ case SMSG_PLAYER_SKILL_MESSAGE:
+ processPlayerSkillMessage(msg);
+ break;
+
default:
break;
}
@@ -466,6 +471,12 @@ void PlayerHandler::processPlayerHeal(Net::MessageIn &msg)
msg.readInt16("value");
}
+void PlayerHandler::processPlayerSkillMessage(Net::MessageIn &msg)
+{
+ // +++ need show this message
+ msg.readInt32("type");
+}
+
void PlayerHandler::setStat(const int type,
const int base,
const int mod,