summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-11-18 20:08:29 +0100
committerGitHub <noreply@github.com>2017-11-18 20:08:29 +0100
commit901df02711777462bd9e4016c91b8166441d9353 (patch)
tree66078c91ed3cc6d99e406cad4dfc5f472f2878ee /src/map/packets_struct.h
parent65f7edf0d88ba7a879427ad2e99c91c20b8a599f (diff)
parentf48b5b3e5788105c54c90edf2ba0d3232de639bb (diff)
downloadhercules-901df02711777462bd9e4016c91b8166441d9353.tar.gz
hercules-901df02711777462bd9e4016c91b8166441d9353.tar.bz2
hercules-901df02711777462bd9e4016c91b8166441d9353.tar.xz
hercules-901df02711777462bd9e4016c91b8166441d9353.zip
Merge pull request #1903 from Asheraf/skill_scale
Implement skill scale packet for client versions >= 20151223.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 03b555e2b..e1395e949 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -330,6 +330,9 @@ enum packet_headers {
#else // PACKETVER >= 20160316
rodexcheckplayer = 0x0A51,
#endif
+#if PACKETVER >= 20151223
+ skillscale = 0xA41,
+#endif
};
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
@@ -1478,6 +1481,16 @@ struct PACKET_ZC_ACK_ITEM_FROM_MAIL {
int8 result;
} __attribute__((packed));
+struct PACKET_ZC_SKILL_SCALE {
+ int16 PacketType;
+ uint32 AID;
+ int16 skill_id;
+ int16 skill_lv;
+ int16 x;
+ int16 y;
+ uint32 casttime;
+} __attribute__((packed));
+
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
#pragma pack(pop)
#endif // not NetBSD < 6 / Solaris