diff options
author | Asheraf <acheraf1998@gmail.com> | 2017-11-12 23:56:11 +0000 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2017-11-16 11:18:41 +0000 |
commit | a11db78940ba20570f11eda90b21028c09da03f2 (patch) | |
tree | 22d0963b31eac60bf4762dc16af5249eac3632f4 /src/map/packets_struct.h | |
parent | 14ca1ab7a98d3c6df94b967159d4dd2df555d7e7 (diff) | |
download | hercules-a11db78940ba20570f11eda90b21028c09da03f2.tar.gz hercules-a11db78940ba20570f11eda90b21028c09da03f2.tar.bz2 hercules-a11db78940ba20570f11eda90b21028c09da03f2.tar.xz hercules-a11db78940ba20570f11eda90b21028c09da03f2.zip |
Implement skill scale packet for client versions >= 20151223.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 13 |
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 |