summaryrefslogtreecommitdiff
path: root/src/emap/skill_const.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/skill_const.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/skill_const.c')
-rw-r--r--src/emap/skill_const.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/emap/skill_const.c b/src/emap/skill_const.c
new file mode 100644
index 0000000..30e6fde
--- /dev/null
+++ b/src/emap/skill_const.c
@@ -0,0 +1,15 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 - 2015 Evol developers
+
+#include "common/hercules.h"
+
+#include "map/script.h"
+
+#include "emap/skill_const.h"
+
+void eskill_addskill_conststants(void)
+{
+ script->constdb_comment("Evol skills");
+ script->set_constant("EVOL_MASSPROVOKE", EVOL_MASSPROVOKE, false, false);
+ script->constdb_comment(NULL);
+}