diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-05 13:09:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:57 +0300 |
commit | 07d993ed7cfa78bc5316bfb5b3ab27158925326a (patch) | |
tree | d173160afe71873d8be70564eef4ddf110bdfe91 | |
parent | 946d6980c3ca3c7b7f6e50616e2e366c9adcae11 (diff) | |
download | mv-07d993ed7cfa78bc5316bfb5b3ab27158925326a.tar.gz mv-07d993ed7cfa78bc5316bfb5b3ab27158925326a.tar.bz2 mv-07d993ed7cfa78bc5316bfb5b3ab27158925326a.tar.xz mv-07d993ed7cfa78bc5316bfb5b3ab27158925326a.zip |
eathena: fix packet SMSG_SKILL_CASTING 0x07fb.
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/packets.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index cc169fc24..a5f39635c 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -879,9 +879,10 @@ void BeingHandler::processSkillCasting(Net::MessageIn &msg) const msg.readInt32("dst id"); msg.readInt16("dst x"); msg.readInt16("dst y"); - msg.readInt16("skill num"); - msg.readInt32("skill get p1"); + msg.readInt16("skill id"); + msg.readInt32("property"); // can be used to trigger effect msg.readInt32("cast time"); + msg.readInt8("dispossable"); } } // namespace EAthena diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h index c04c66102..a34ac7962 100644 --- a/src/net/eathena/packets.h +++ b/src/net/eathena/packets.h @@ -211,7 +211,7 @@ int16_t packet_lengths[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 268, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, 0, 25, 0, 0, 0, 0, //0 1 2 3 4 5 6 7 8 9 a b c d e f //0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 // #0x0800 diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index c2bd36027..b0acb8f93 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -298,7 +298,7 @@ #define CMSG_IGNORE_ALL 0x00d0 #define SMSG_SOLVE_CHAR_NAME 0x0194 -#define SMSG_SKILL_CASTING 0x013e +#define SMSG_SKILL_CASTING 0x07fb #define SMSG_SKILL_CAST_CANCEL 0x01b9 #define SMSG_SKILL_NO_DAMAGE 0x011a |