summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-02-10 01:34:04 +0100
committerGitHub <noreply@github.com>2020-02-10 01:34:04 +0100
commitd762e0255b63def0a20db15d386c332d5fb93dd1 (patch)
tree3be31ba3a73295bd3d655d27643a248e9abe60a6 /src/map/packets_struct.h
parente164b55dbb908c0006f0ca4e2e74e9995f318d57 (diff)
parentcaae14cae60f27594a2dbf4c41076330be1afd5e (diff)
downloadhercules-d762e0255b63def0a20db15d386c332d5fb93dd1.tar.gz
hercules-d762e0255b63def0a20db15d386c332d5fb93dd1.tar.bz2
hercules-d762e0255b63def0a20db15d386c332d5fb93dd1.tar.xz
hercules-d762e0255b63def0a20db15d386c332d5fb93dd1.zip
Merge pull request #2616 from Kenpachi2k13/issue#819
Modified itemskill() script command to be usable like AEGIS' SkillToMe command.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 31b28e831..b604c77b8 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3873,6 +3873,18 @@ struct PACKET_ZC_STATE_CHANGE {
DEFINE_PACKET_HEADER(ZC_STATE_CHANGE, 0x0119);
#endif
+struct PACKET_ZC_AUTORUN_SKILL {
+ int16 packetType;
+ uint16 skill_id;
+ uint32 skill_type;
+ uint16 skill_lv;
+ uint16 skill_sp;
+ uint16 skill_range;
+ char skill_name[NAME_LENGTH];
+ char up_flag;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_AUTORUN_SKILL, 0x0147);
+
#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