summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-11-29 23:49:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-11-29 23:49:52 +0300
commitdb0ced5b85e36c762d3d2c3a0d10039587bce1c2 (patch)
tree1a171a6a425e4d4a730ef779ba6747a03c5c43d4
parent2de6716d264241b247a353c837841cbfdb05f066 (diff)
downloadplus-db0ced5b85e36c762d3d2c3a0d10039587bce1c2.tar.gz
plus-db0ced5b85e36c762d3d2c3a0d10039587bce1c2.tar.bz2
plus-db0ced5b85e36c762d3d2c3a0d10039587bce1c2.tar.xz
plus-db0ced5b85e36c762d3d2c3a0d10039587bce1c2.zip
Add packeet SMSG_SKILL_SCALE 0x0a41.
-rw-r--r--src/net/eathena/packetsin.inc6
-rw-r--r--src/net/eathena/skillrecv.cpp10
-rw-r--r--src/net/eathena/skillrecv.h1
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