summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/packetsout.inc12
-rw-r--r--src/net/eathena/skillhandler.cpp6
2 files changed, 18 insertions, 0 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index b13f6874a..ef9ce6c14 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -1339,6 +1339,18 @@ if (packetVersion >= 20170419)
packet(CMSG_MAIL2_REFRESH_MAIL_LIST, 0x0ac1, 26, clif->pRodexRefreshMaillist);
}
+// zero 20180131
+if (packetVersionZero >= 20180131)
+{
+ packet(CMSG_SKILL_USE_POSITION, 0x0af4, 11, clif->pUseSkillToPos);
+}
+
+// 20180207
+if (packetVersion >= 20180207)
+{
+ packet(CMSG_SKILL_USE_POSITION, 0x0af4, 11, clif->pUseSkillToPos);
+}
+
// re 20180307
if (packetVersionRe >= 20180307)
{
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 3eb843933..3c9e7e158 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -29,6 +29,7 @@
#include "debug.h"
extern int packetVersion;
+extern int packetVersionZero;
namespace EAthena
{
@@ -76,6 +77,11 @@ void SkillHandler::usePos(const int id, const int level,
outMsg.writeInt16(CAST_S16(id), "skill id");
outMsg.writeInt16(CAST_S16(x), "x");
outMsg.writeInt16(CAST_S16(y), "y");
+ if (packetVersionZero >= 20180131 ||
+ packetVersion >= 20180207)
+ {
+ outMsg.writeInt8(0, "unknown");
+ }
}
}