From f53a681102feb5e5f622635c5a5933a9aa6b7693 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Oct 2016 18:08:56 +0300 Subject: Update skill array size after hercules update. --- src/ecommon/init.c | 6 +++--- src/emap/enum/esctype.h | 2 +- tools/vars.sh | 8 ++++---- 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}" -- cgit v1.2.3-70-g09d2