summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index d9229caae..4420f55c8 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -69,6 +69,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_BEING_ACTION,
SMSG_BEING_ACTION2,
SMSG_BEING_SELFEFFECT,
+ SMSG_BEING_SPECIAL_EFFECT,
SMSG_BEING_EMOTION,
SMSG_BEING_CHANGE_LOOKS,
SMSG_BEING_CHANGE_LOOKS2,
@@ -158,6 +159,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processBeingSelfEffect(msg);
break;
+ case SMSG_BEING_SPECIAL_EFFECT:
+ processBeingSpecialEffect(msg);
+ break;
+
case SMSG_BEING_EMOTION:
processBeingEmotion(msg);
break;
@@ -1598,6 +1603,14 @@ void BeingHandler::processBeingChangeDirection(Net::MessageIn &msg) const
BLOCK_END("BeingHandler::processBeingChangeDirection")
}
+void BeingHandler::processBeingSpecialEffect(Net::MessageIn &msg) const
+{
+ // +++ need somhow show this effects.
+ // type is not same with self/misc effect.
+ msg.readInt32("account id");
+ msg.readInt32("effect type");
+}
+
void BeingHandler::setServerGender(Being *const being, const uint8_t gender)
{
switch (gender)