summaryrefslogtreecommitdiff
path: root/src/map/script.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/script.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/script.h')
-rw-r--r--src/map/script.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 8d7669d68..857d22c61 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -565,6 +565,16 @@ enum mado_type {
};
/**
+ * Option flags for itemskill() script command.
+ **/
+enum itemskill_flag {
+ ISF_NONE = 0x00,
+ ISF_IGNORECONDITIONS = 0x01, // Ignore skill conditions and don't consume them.
+ ISF_INSTANTCAST = 0x02, // Cast skill instantaneously.
+ ISF_CASTONSELF = 0x04, // Forcefully cast skill on invoking character without showing the target selection cursor.
+};
+
+/**
* Structures
**/