summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-03 00:03:38 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-03 00:03:38 +0300
commit9e5d035a2e43424ad63f159a6c8971a15a9079f4 (patch)
tree2eb4064714058fb9d0ebaf8358162f2d4f61116f
parenta6d18b282ab916c6536dc25516affeb9200043b6 (diff)
downloadplus-9e5d035a2e43424ad63f159a6c8971a15a9079f4.tar.gz
plus-9e5d035a2e43424ad63f159a6c8971a15a9079f4.tar.bz2
plus-9e5d035a2e43424ad63f159a6c8971a15a9079f4.tar.xz
plus-9e5d035a2e43424ad63f159a6c8971a15a9079f4.zip
Add packet SMSG_BEING_REMOVE_SPECIAL_EFFECT 0x0b0d.
-rw-r--r--src/net/eathena/beingrecv.cpp7
-rw-r--r--src/net/eathena/beingrecv.h1
-rw-r--r--src/net/eathena/packetsin.inc6
3 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index f145bb17b..f05148810 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -1450,6 +1450,13 @@ void BeingRecv::processBeingSpecialEffect(Net::MessageIn &msg)
}
}
+void BeingRecv::processBeingRemoveSpecialEffect(Net::MessageIn &msg)
+{
+ UNIMPLEMENTEDPACKET;
+ msg.readBeingId("being id");
+ msg.readInt32("effect type");
+}
+
void BeingRecv::processBeingHatEffects(Net::MessageIn &msg)
{
// +++ add new type of permanent effects?
diff --git a/src/net/eathena/beingrecv.h b/src/net/eathena/beingrecv.h
index f663eb4af..bc40ce3fa 100644
--- a/src/net/eathena/beingrecv.h
+++ b/src/net/eathena/beingrecv.h
@@ -75,6 +75,7 @@ namespace EAthena
void processBeingSpecialEffect(Net::MessageIn &msg);
void processBeingSpecialEffectNum(Net::MessageIn &msg);
void processBeingHatEffects(Net::MessageIn &msg);
+ void processBeingRemoveSpecialEffect(Net::MessageIn &msg);
void processBeingSoundEffect(Net::MessageIn &msg);
void processSkillGroundNoDamage(Net::MessageIn &msg);
void processSkillEntry(Net::MessageIn &msg);
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index b631ed895..b4ab91b42 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -1338,6 +1338,12 @@ if (packetVersionZero >= 20180919)
packet(SMSG_PLAYER_COMBINED_EQUIPMENT2, 0x0b0a, -1, &InventoryRecv::processPlayerCombinedEquipment2, 20180919);
}
+// 20181002
+if (packetVersion >= 20181002)
+{
+ packet(SMSG_BEING_REMOVE_SPECIAL_EFFECT, 0x0b0d, 10, &BeingRecv::processBeingRemoveSpecialEffect, 20181002);
+}
+
// 0
// evol always packets
packet(SMSG_SERVER_VERSION_RESPONSE, 0x7531, -1, &LoginRecv::processServerVersion, 0);