summaryrefslogtreecommitdiff
path: root/src/emap/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-01 15:24:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-01 17:23:19 +0300
commitfb398fe6dcc8ba797e133df3db3dcdfa1df9042b (patch)
tree89ba9d9cdbb9ad6e122c2984ad75ffbf53a8082a /src/emap/script.c
parent8340001e7b3adb04d91a08c0372f058a4edfdf39 (diff)
downloadevol-hercules-fb398fe6dcc8ba797e133df3db3dcdfa1df9042b.tar.gz
evol-hercules-fb398fe6dcc8ba797e133df3db3dcdfa1df9042b.tar.bz2
evol-hercules-fb398fe6dcc8ba797e133df3db3dcdfa1df9042b.tar.xz
evol-hercules-fb398fe6dcc8ba797e133df3db3dcdfa1df9042b.zip
Add files for skill constants and ground skills handlers.
For now add one ground skill EVOL_MASSPROVOKE.
Diffstat (limited to 'src/emap/script.c')
-rw-r--r--src/emap/script.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/script.c b/src/emap/script.c
index e3ad3ed..73854ce 100644
--- a/src/emap/script.c
+++ b/src/emap/script.c
@@ -19,6 +19,7 @@
#include "emap/map.h"
#include "emap/data/npcd.h"
#include "emap/struct/npcdext.h"
+#include "emap/skill_const.h"
#define getExt2() \
TBL_NPC *nd = NULL; \
@@ -84,6 +85,7 @@ void escript_hardcoded_constants_pre(void)
script->constdb_comment("Evol constants");
script->set_constant("MAX_SLOTS", MAX_SLOTS, false, false);
script->constdb_comment(NULL);
+ eskill_addskill_conststants();
}
// stripped copy from script_load_translations without actual translation loading.