summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-08-16 06:36:04 +0300
committerAndrei Karas <akaras@inbox.ru>2019-08-21 22:36:42 +0300
commit1a4e375c7490ed474c3be74b43b120f3aee07c16 (patch)
treeb2e24b0bd9da5f68a432c0da732a25e48b797004 /src/map/packets_struct.h
parent63fd2cf8d4aa3059d54caf0dca32f6a501967a3c (diff)
downloadhercules-1a4e375c7490ed474c3be74b43b120f3aee07c16.tar.gz
hercules-1a4e375c7490ed474c3be74b43b120f3aee07c16.tar.bz2
hercules-1a4e375c7490ed474c3be74b43b120f3aee07c16.tar.xz
hercules-1a4e375c7490ed474c3be74b43b120f3aee07c16.zip
Update skill related packets for zero
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 3ed1c48fd..b8976516e 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3517,7 +3517,7 @@ DEFINE_PACKET_HEADER(ZC_HAT_EFFECT, 0x0a3b);
#endif
// [4144] this struct updated not in all packets in client
-#if PACKETVER_RE_NUM >= 20190807
+#if PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190814
struct SKILLDATA {
uint16 id;
int inf;
@@ -3543,7 +3543,7 @@ struct PACKET_ZC_ADD_SKILL {
int16 packetType;
struct SKILLDATA skill;
} __attribute__((packed));
-#if PACKETVER_RE_NUM >= 20190807
+#if PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190814
DEFINE_PACKET_HEADER(ZC_ADD_SKILL, 0x0b31);
#else
DEFINE_PACKET_HEADER(ZC_ADD_SKILL, 0x0111);
@@ -3554,13 +3554,13 @@ struct PACKET_ZC_SKILLINFO_LIST {
int16 packetLength;
struct SKILLDATA skills[];
} __attribute__((packed));
-#if PACKETVER_RE_NUM >= 20190807
+#if PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190814
DEFINE_PACKET_HEADER(ZC_SKILLINFO_LIST, 0x0b32);
#else
DEFINE_PACKET_HEADER(ZC_SKILLINFO_LIST, 0x010f);
#endif
-#if PACKETVER_RE_NUM >= 20190807
+#if PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190814
struct PACKET_ZC_SKILLINFO_UPDATE2 {
int16 packetType;
uint16 id;