summaryrefslogtreecommitdiff
path: root/src/net/eathena/beingrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/beingrecv.cpp')
-rw-r--r--src/net/eathena/beingrecv.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index 627d9d9a1..731f00f44 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1470,6 +1470,20 @@ void BeingRecv::processBeingSpecialEffect(Net::MessageIn &msg)
}
}
+void BeingRecv::processBeingHatEffects(Net::MessageIn &msg)
+{
+ // +++ add new type of permanent effects?
+ const int cnt = (msg.readInt16("len") - 9) / 2;
+ if (cnt > 0)
+ {
+ UNIMPLEMENTEDPACKET;
+ }
+ msg.readBeingId("being id");
+ msg.readUInt8("enable");
+ for (int f = 0; f < cnt; f ++)
+ msg.readInt16("hat effect");
+}
+
void BeingRecv::processBeingSpecialEffectNum(Net::MessageIn &msg)
{
UNIMPLEMENTEDPACKET;