summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-05 16:15:01 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-05 16:15:01 -0300
commit258334d6e0481416fa3d22f239c2833bcf8e5313 (patch)
tree327154f258fedcea8ce4be5480411b9196788a28
parent04197eeeb53cee541f19b3df66cd06dd507469dc (diff)
downloadevol-hercules-258334d6e0481416fa3d22f239c2833bcf8e5313.tar.gz
evol-hercules-258334d6e0481416fa3d22f239c2833bcf8e5313.tar.bz2
evol-hercules-258334d6e0481416fa3d22f239c2833bcf8e5313.tar.xz
evol-hercules-258334d6e0481416fa3d22f239c2833bcf8e5313.zip
Register 20 extra skill slots (untested)
-rw-r--r--src/ecommon/init.c6
-rwxr-xr-xtools/vars.sh6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/ecommon/init.c b/src/ecommon/init.c
index 51bc6b8..fe74649 100644
--- a/src/ecommon/init.c
+++ b/src/ecommon/init.c
@@ -45,12 +45,12 @@ void commonClean(void)
void common_online(void)
{
checkVar(MAX_STORAGE, 500);
- checkVar(MAX_SKILL_DB, 1552);
- checkVar(MAX_SKILL_ID, 20042);
+ checkVar(MAX_SKILL_DB, 1572);
+ checkVar(MAX_SKILL_ID, 20062);
checkVar(SC_MAX, 658);
checkVar(SI_MAX, 991);
checkVar(OLD_MAX_SKILL_DB, 1510);
- checkVar(MAX_EVOL_SKILLS, 42);
+ checkVar(MAX_EVOL_SKILLS, 62);
checkVar(EVOL_FIRST_SKILL, 20000);
checkVar(MAX_SKILL_TREE, 110);
}
diff --git a/tools/vars.sh b/tools/vars.sh
index 0449fdd..97f3225 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
-# MAX_SKILL_DB 1510 + 42 = 1552
-# MAX_SKILL_ID 10015 + 42 + 9963 = 20042
+# MAX_SKILL_DB 1510 + 62 = 1572
+# MAX_SKILL_ID 10015 + 62 + 9963 = 20062
# SC_MAX 653 + 5 = 658
# SI_MAX 966 + 5 = 971
# MAX_EVOL_SKILLS 42
@@ -11,5 +11,5 @@
# can be used for custom skill id: 10016 - 10036+20
-export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_SKILL_DB=1552 -DMAX_SKILL_ID=20042 -DMAX_EVOL_SKILLS=42 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=110 -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_SKILL_DB=1572 -DMAX_SKILL_ID=20062 -DMAX_EVOL_SKILLS=62 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=110 -DSC_MAX=658 -DSI_MAX=991 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531"
export CPPFLAGS="${VARS}"