summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-03-11 18:20:59 +0100
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-03-11 18:33:16 +0100
commit81a2b776cebb41d52a90994b605d9b0c5925acb5 (patch)
treee76a117f1cbef9ea15e6307f0d363d7f4f778e35 /src/map/skill.h
parent2764e41addcb28863a6d9de5b0407eba9855fa77 (diff)
downloadhercules-81a2b776cebb41d52a90994b605d9b0c5925acb5.tar.gz
hercules-81a2b776cebb41d52a90994b605d9b0c5925acb5.tar.bz2
hercules-81a2b776cebb41d52a90994b605d9b0c5925acb5.tar.xz
hercules-81a2b776cebb41d52a90994b605d9b0c5925acb5.zip
Add enumeration for auto-cast types
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index c65547181..b241e0498 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -1724,6 +1724,15 @@ enum {
UNT_MAX = 0x190
};
+/** Constants to identify the auto-cast type. **/
+enum autocast_type {
+ AUTOCAST_NONE = 0,
+ AUTOCAST_TEMP, // Used when type is only required during the execution of the calling instance. (For example bAutoSpell* skills.)
+ AUTOCAST_ABRA, // Used for Abracadabra (Hocus pocus).
+ AUTOCAST_IMPROVISE, // Used for Improvised Song.
+ AUTOCAST_ITEM, // Used for itemskill() script command.
+};
+
/**
* Structures
**/