From 9a64eca5235da46655ca64ba5916c6fd4d90208a Mon Sep 17 00:00:00 2001 From: Kenpachi Developer Date: Sun, 10 May 2020 03:05:29 +0200 Subject: Add skill_enabled_npc battle flag and implement usage --- src/map/skill.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/map/skill.h') diff --git a/src/map/skill.h b/src/map/skill.h index 4dbbaf147..e8360c91f 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -1733,6 +1733,13 @@ enum autocast_type { AUTOCAST_ITEM, // Used for itemskill() script command. }; +/** Constants for allowed skill use while interacting with NPC. **/ +enum skill_enabled_npc_flags { + SKILLENABLEDNPC_NONE = 0, //!< Don't allow using any skills while interacting with NPC. + SKILLENABLEDNPC_SELF = 1, //!< Allow using non-damaging self skills while interacting with NPC. + SKILLENABLEDNPC_ALL = 2, //!< Allow using all skills while interacting with NPC. +}; + /** * Structures **/ -- cgit v1.2.3-60-g2f50