From 9e5d035a2e43424ad63f159a6c8971a15a9079f4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 3 Nov 2018 00:03:38 +0300 Subject: Add packet SMSG_BEING_REMOVE_SPECIAL_EFFECT 0x0b0d. --- src/net/eathena/beingrecv.cpp | 7 +++++++ src/net/eathena/beingrecv.h | 1 + src/net/eathena/packetsin.inc | 6 ++++++ 3 files changed, 14 insertions(+) (limited to 'src/net') 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); -- cgit v1.2.3-60-g2f50