summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-10 21:30:21 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-10 21:30:21 +0300
commit598197b96d96bdb6a8c455eeae5204c7df6b8311 (patch)
tree9711a2b1c74f194d6cefa97e53d6914bb149d307
parentc95ac0d7e312aade368f7213eafa6476ef2cd3fe (diff)
downloadplugin-598197b96d96bdb6a8c455eeae5204c7df6b8311.tar.gz
plugin-598197b96d96bdb6a8c455eeae5204c7df6b8311.tar.bz2
plugin-598197b96d96bdb6a8c455eeae5204c7df6b8311.tar.xz
plugin-598197b96d96bdb6a8c455eeae5204c7df6b8311.zip
Hercules update.
Add rodex support.
-rw-r--r--src/echar/init.c1
-rw-r--r--src/emap/enum/esctype.h2
-rw-r--r--src/emap/init.c1
-rwxr-xr-xtools/vars.sh4
4 files changed, 5 insertions, 3 deletions
diff --git a/src/echar/init.c b/src/echar/init.c
index c8b7e0b..87c49d7 100644
--- a/src/echar/init.c
+++ b/src/echar/init.c
@@ -26,6 +26,7 @@
#include "char/int_party.h"
#include "char/int_pet.h"
#include "char/int_quest.h"
+#include "char/int_rodex.h"
#include "char/int_storage.h"
#include "char/inter.h"
#include "char/loginif.h"
diff --git a/src/emap/enum/esctype.h b/src/emap/enum/esctype.h
index db52e9d..072adcd 100644
--- a/src/emap/enum/esctype.h
+++ b/src/emap/enum/esctype.h
@@ -6,7 +6,7 @@
typedef enum esc_type
{
- SC_PHYSICAL_SHIELD = 652,
+ SC_PHYSICAL_SHIELD = 653,
} esc_type;
#endif // EVOL_MAP_ENUM_ESCTYPE
diff --git a/src/emap/init.c b/src/emap/init.c
index 404b0bb..e7669a7 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -40,6 +40,7 @@
#include "map/storage.h"
#include "map/trade.h"
#include "map/quest.h"
+#include "map/rodex.h"
#include "ecommon/config.h"
#include "ecommon/init.h"
diff --git a/tools/vars.sh b/tools/vars.sh
index 24d2aec..7be7f49 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -2,7 +2,7 @@
# MAX_SKILL 1510 + 22 = 1532
# MAX_SKILL_ID 10015 + 22 + 9963 = 20022
-# SC_MAX 652 + 5 = 657
+# SC_MAX 653 + 5 = 658
# SI_MAX 966 + 5 = 971
# MAX_EVOL_SKILLS 22
# EVOL_FIRST_SKILL 20000
@@ -10,5 +10,5 @@
# can be used for custom skill id: 10016 - 10036
-export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_SKILL=1532 -DMAX_SKILL_ID=20022 -DMAX_EVOL_SKILLS=22 -DEVOL_FIRST_SKILL=20000 -DSC_MAX=657 -DSI_MAX=971"
+export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_SKILL=1532 -DMAX_SKILL_ID=20022 -DMAX_EVOL_SKILLS=22 -DEVOL_FIRST_SKILL=20000 -DSC_MAX=658 -DSI_MAX=971"
export CPPFLAGS="${VARS}"