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/script.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index bda461d5d..7ba9fd276 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -27918,6 +27918,11 @@ static void script_hardcoded_constants(void) script->set_constant("ITEMENABLEDNPC_EQUIP", ITEMENABLEDNPC_EQUIP, false, false); script->set_constant("ITEMENABLEDNPC_CONSUME", ITEMENABLEDNPC_CONSUME, false, false); + script->constdb_comment("NPC allowed skill use constants"); + script->set_constant("SKILLENABLEDNPC_NONE", SKILLENABLEDNPC_NONE, false, false); + script->set_constant("SKILLENABLEDNPC_SELF", SKILLENABLEDNPC_SELF, false, false); + script->set_constant("SKILLENABLEDNPC_ALL", SKILLENABLEDNPC_ALL, false, false); + script->constdb_comment("private airship responds"); script->set_constant("P_AIRSHIP_NONE", P_AIRSHIP_NONE, false, false); script->set_constant("P_AIRSHIP_RETRY", P_AIRSHIP_RETRY, false, false); -- cgit v1.2.3-70-g09d2