From 81a2b776cebb41d52a90994b605d9b0c5925acb5 Mon Sep 17 00:00:00 2001 From: Kenpachi Developer Date: Wed, 11 Mar 2020 18:20:59 +0100 Subject: Add enumeration for auto-cast types --- src/map/skill.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/map/skill.h') 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 **/ -- cgit v1.2.3-60-g2f50