diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-23 05:59:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-23 05:59:13 -0300 |
commit | 1e26226415177653e97e4ef492ed95b8550aa289 (patch) | |
tree | 2f74c649a879f79273dd0a3d75f6893b232f39a2 | |
parent | a048940e1c7fcdf8182ce8192b6c511c608257c1 (diff) | |
download | evol-hercules-1e26226415177653e97e4ef492ed95b8550aa289.tar.gz evol-hercules-1e26226415177653e97e4ef492ed95b8550aa289.tar.bz2 evol-hercules-1e26226415177653e97e4ef492ed95b8550aa289.tar.xz evol-hercules-1e26226415177653e97e4ef492ed95b8550aa289.zip |
Increase number of skill IDs I can use
I'll need a lot of them.
-rw-r--r-- | src/ecommon/init.c | 8 | ||||
-rwxr-xr-x | tools/vars.sh | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/ecommon/init.c b/src/ecommon/init.c index 4fb4b35..ddf88bb 100644 --- a/src/ecommon/init.c +++ b/src/ecommon/init.c @@ -46,12 +46,12 @@ void common_online(void) { checkVar(MAX_STORAGE, 500); checkVar(MAX_INVENTORY, 120); - checkVar(MAX_SKILL_DB, 1572); - checkVar(MAX_SKILL_ID, 20062); + checkVar(MAX_SKILL_DB, 1660); + checkVar(MAX_SKILL_ID, 20150); checkVar(SC_MAX, 658); checkVar(SI_MAX, 991); checkVar(OLD_MAX_SKILL_DB, 1510); - checkVar(MAX_EVOL_SKILLS, 62); + checkVar(MAX_EVOL_SKILLS, 150); checkVar(EVOL_FIRST_SKILL, 20000); - checkVar(MAX_SKILL_TREE, 150); + checkVar(MAX_SKILL_TREE, 200); } diff --git a/tools/vars.sh b/tools/vars.sh index ecc49e6..a16d8b2 100755 --- a/tools/vars.sh +++ b/tools/vars.sh @@ -1,15 +1,15 @@ #!/usr/bin/env bash -# MAX_SKILL_DB 1510 + 62 = 1572 -# MAX_SKILL_ID 10015 + 62 + 9963 = 20062 +# MAX_SKILL_DB 1510 + 150 = 1660 +# MAX_SKILL_ID 10015 + 150 + 9963 = 20150 # SC_MAX 653 + 5 = 658 # SI_MAX 966 + 5 = 971 -# MAX_EVOL_SKILLS 42 +# MAX_EVOL_SKILLS 150 # EVOL_FIRST_SKILL 20000 # OLD_MAX_SKILL_DB 1510 -# MAX_SKILL_TREE 150 +# MAX_SKILL_TREE 200 # can be used for custom skill id: 10016 - 10036+20 -export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_INVENTORY=120 -DMAX_SKILL_DB=1572 -DMAX_SKILL_ID=20062 -DMAX_EVOL_SKILLS=62 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=150 -DSC_MAX=658 -DSI_MAX=991 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531" +export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_INVENTORY=120 -DMAX_SKILL_DB=1660 -DMAX_SKILL_ID=20150 -DMAX_EVOL_SKILLS=150 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=200 -DSC_MAX=658 -DSI_MAX=991 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531" export CPPFLAGS="${VARS}" |