summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r--src/net/eathena/skillhandler.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 1b97b5044..381c00231 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -73,6 +73,19 @@ void SkillHandler::useBeingStart(const int id,
outMsg.writeInt32(toInt(beingId, int), "target id");
}
+void SkillHandler::useStop(const int id) const
+{
+ if (packetVersionMain < 20181002 &&
+ packetVersionRe < 20181002 &&
+ packetVersionZero < 20181010)
+ {
+ return;
+ }
+
+ createOutPacket(CMSG_SKILL_USE_BEING_STOP);
+ outMsg.writeInt16(CAST_S16(id), "skill id");
+}
+
void SkillHandler::usePos(const int id, const int level,
const int x, const int y) const
{