diff options
-rw-r--r-- | src/net/eathena/packetsin.inc | 6 | ||||
-rw-r--r-- | src/net/eathena/skillrecv.cpp | 10 | ||||
-rw-r--r-- | src/net/eathena/skillrecv.h | 1 |
3 files changed, 17 insertions, 0 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 219c374e1..e394afad6 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -908,6 +908,12 @@ if (packetVersion >= 20150805) packet(SMSG_SELECT_CART, 0x097f, -1, &InventoryRecv::processSelectCart, 20150805); } +// 20151223 +if (packetVersion >= 20151223) +{ + packet(SMSG_SKILL_SCALE, 0x0a41, 18, &SkillRecv::processSkillScale, 20151223); +} + // 20160330 if (packetVersion >= 20160330) { diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp index e4b71a076..1449322e7 100644 --- a/src/net/eathena/skillrecv.cpp +++ b/src/net/eathena/skillrecv.cpp @@ -526,4 +526,14 @@ void SkillRecv::processSkillItemListWindow(Net::MessageIn &msg) msg.readInt32("unused"); } +void SkillRecv::processSkillScale(Net::MessageIn &msg) +{ + msg.readBeingId("being id"); + msg.readInt16("skill id"); + msg.readInt16("skill level"); + msg.readInt16("x"); + msg.readInt16("y"); + msg.readInt32("cast time"); +} + } // namespace EAthena diff --git a/src/net/eathena/skillrecv.h b/src/net/eathena/skillrecv.h index 5facd510d..0dcb213c5 100644 --- a/src/net/eathena/skillrecv.h +++ b/src/net/eathena/skillrecv.h @@ -50,6 +50,7 @@ namespace EAthena void processSkillAutoSpells(Net::MessageIn &msg); void processSkillDevotionEffect(Net::MessageIn &msg); void processSkillItemListWindow(Net::MessageIn &msg); + void processSkillScale(Net::MessageIn &msg); } // namespace SkillRecv } // namespace EAthena |