summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-05-27 13:18:39 +0200
committerGitHub <noreply@github.com>2020-05-27 13:18:39 +0200
commit03889da5f0c58401ef3c9483006b0ac033edbee6 (patch)
tree56ef7d2cd059b44ae410a78b499dd31541473aaa /src/map/script.c
parentc4eae30a53a2996f5ae80a496b6ab161308f0b05 (diff)
parentaa44b976cb7a512c2ad89c2e8974f525e77f1a7b (diff)
downloadhercules-03889da5f0c58401ef3c9483006b0ac033edbee6.tar.gz
hercules-03889da5f0c58401ef3c9483006b0ac033edbee6.tar.bz2
hercules-03889da5f0c58401ef3c9483006b0ac033edbee6.tar.xz
hercules-03889da5f0c58401ef3c9483006b0ac033edbee6.zip
Merge pull request #2733 from Kenpachi2k13/msc_magicattacked
Add MSC_MAGICATTACKED cast condition for monster skills
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 0fd8bda2a..e4a57194d 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -28122,6 +28122,7 @@ static void script_hardcoded_constants(void)
script->set_constant("MSC_MASTERATTACKED", MSC_MASTERATTACKED, false, false);
script->set_constant("MSC_ALCHEMIST", MSC_ALCHEMIST, false, false);
script->set_constant("MSC_SPAWN", MSC_SPAWN, false, false);
+ script->set_constant("MSC_MAGICATTACKED", MSC_MAGICATTACKED, false, false);
script->constdb_comment("monster skill targets");
script->set_constant("MST_TARGET", MST_TARGET, false, false);