summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/beinghandler.cpp5
-rw-r--r--src/net/eathena/packets.h2
-rw-r--r--src/net/eathena/protocol.h2
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