summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-19 14:56:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-19 14:56:41 +0300
commitfff70c8f8b5ca96e13d458f03caa21386b96c647 (patch)
tree794213201841d75bec7fc18e4f216bca690d0656 /src/net/eathena/beinghandler.cpp
parent2c2a9956f8271fc6a1ac0ff978ceb1c57403f849 (diff)
downloadmanaplus-fff70c8f8b5ca96e13d458f03caa21386b96c647.tar.gz
manaplus-fff70c8f8b5ca96e13d458f03caa21386b96c647.tar.bz2
manaplus-fff70c8f8b5ca96e13d458f03caa21386b96c647.tar.xz
manaplus-fff70c8f8b5ca96e13d458f03caa21386b96c647.zip
eathena: add partial support for packet SMSG_BEING_REMOVE_SKILL 0x0120.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 532b5e886..a3c40ab68 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -65,6 +65,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_BEING_MOVE,
SMSG_BEING_MOVE2,
SMSG_BEING_REMOVE,
+ SMSG_BEING_REMOVE_SKILL,
SMSG_SKILL_DAMAGE,
SMSG_BEING_ACTION,
SMSG_BEING_ACTION2,
@@ -138,6 +139,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processBeingRemove(msg);
break;
+ case SMSG_BEING_REMOVE_SKILL:
+ processBeingRemoveSkil(msg);
+ break;
+
case SMSG_BEING_RESURRECT:
processBeingResurrect(msg);
break;
@@ -1804,4 +1809,10 @@ void BeingHandler::processPlayerGuilPartyInfo(Net::MessageIn &msg) const
BLOCK_END("BeingHandler::processPlayerGuilPartyInfo")
}
+void BeingHandler::processBeingRemoveSkil(Net::MessageIn &msg) const
+{
+ // +++ if skill unit was added, here need remove it from actors
+ msg.readInt32("skill unit id");
+}
+
} // namespace EAthena