diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-05-10 03:05:29 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-05-13 05:18:02 +0200 |
commit | 9a64eca5235da46655ca64ba5916c6fd4d90208a (patch) | |
tree | a11a4aa10060e7b32553000dcbaf5c9fc52dd59b /src/map/script.c | |
parent | cfe2d8527ecc8eb8e6dfacc7e661c5ed1f08ddd9 (diff) | |
download | hercules-9a64eca5235da46655ca64ba5916c6fd4d90208a.tar.gz hercules-9a64eca5235da46655ca64ba5916c6fd4d90208a.tar.bz2 hercules-9a64eca5235da46655ca64ba5916c6fd4d90208a.tar.xz hercules-9a64eca5235da46655ca64ba5916c6fd4d90208a.zip |
Add skill_enabled_npc battle flag and implement usage
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |