summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-24 18:08:56 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-24 18:41:38 +0300
commitf53a681102feb5e5f622635c5a5933a9aa6b7693 (patch)
tree603907e6640a60e9373c83dc8733d1c24fad9a25
parent7d51e26af0f8bbd6c4788c73632d9165db6600fb (diff)
downloadevol-hercules-f53a681102feb5e5f622635c5a5933a9aa6b7693.tar.gz
evol-hercules-f53a681102feb5e5f622635c5a5933a9aa6b7693.tar.bz2
evol-hercules-f53a681102feb5e5f622635c5a5933a9aa6b7693.tar.xz
evol-hercules-f53a681102feb5e5f622635c5a5933a9aa6b7693.zip
Update skill array size after hercules update.
-rw-r--r--src/ecommon/init.c6
-rw-r--r--src/emap/enum/esctype.h2
-rwxr-xr-xtools/vars.sh8
3 files changed, 8 insertions, 8 deletions
diff --git a/src/ecommon/init.c b/src/ecommon/init.c
index f0955e1..7d55baf 100644
--- a/src/ecommon/init.c
+++ b/src/ecommon/init.c
@@ -44,11 +44,11 @@ void commonClean(void)
void common_online(void)
{
- checkVar(MAX_SKILL, 1500);
+ checkVar(MAX_SKILL, 1532);
checkVar(MAX_SKILL_ID, 20022);
- checkVar(SC_MAX, 647);
+ checkVar(SC_MAX, 657);
checkVar(SI_MAX, 971);
- checkVar(OLD_MAX_SKILL_DB, 1478);
+ checkVar(OLD_MAX_SKILL_DB, 1510);
checkVar(MAX_EVOL_SKILLS, 22);
checkVar(EVOL_FIRST_SKILL, 20000);
}
diff --git a/src/emap/enum/esctype.h b/src/emap/enum/esctype.h
index 3e6e5d4..db52e9d 100644
--- a/src/emap/enum/esctype.h
+++ b/src/emap/enum/esctype.h
@@ -6,7 +6,7 @@
typedef enum esc_type
{
- SC_PHYSICAL_SHIELD = 642,
+ SC_PHYSICAL_SHIELD = 652,
} esc_type;
#endif // EVOL_MAP_ENUM_ESCTYPE
diff --git a/tools/vars.sh b/tools/vars.sh
index 03b7193..5e52432 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -1,14 +1,14 @@
#!/bin/bash
-# MAX_SKILL 1478 + 22 = 1500
+# MAX_SKILL 1510 + 22 = 1532
# MAX_SKILL_ID 10015 + 22 + 9963 = 20022
-# SC_MAX 642 + 5 = 647
+# SC_MAX 652 + 5 = 657
# SI_MAX 966 + 5 = 971
# MAX_EVOL_SKILLS 22
# EVOL_FIRST_SKILL 20000
-# OLD_MAX_SKILL_DB 1478
+# OLD_MAX_SKILL_DB 1510
# can be used for custom skill id: 10016 - 10036
-export VARS=" -DOLD_MAX_SKILL_DB=1478 -DMAX_SKILL=1500 -DMAX_SKILL_ID=20022 -DMAX_EVOL_SKILLS=22 -DEVOL_FIRST_SKILL=20000 -DSC_MAX=647 -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=657 -DSI_MAX=971"
export CPPFLAGS="${VARS}"