summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-18 03:35:03 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-18 03:35:03 -0300
commit03996d97def7dda1d6a6f79a466daf668884d277 (patch)
tree70fea4c850dcd6f95360179cee915486217ed890 /tools
parent21a2caf48d51305c35ab874b28f1c8da9c341c03 (diff)
downloadevol-hercules-03996d97def7dda1d6a6f79a466daf668884d277.tar.gz
evol-hercules-03996d97def7dda1d6a6f79a466daf668884d277.tar.bz2
evol-hercules-03996d97def7dda1d6a6f79a466daf668884d277.tar.xz
evol-hercules-03996d97def7dda1d6a6f79a466daf668884d277.zip
Change max skills from 60 to 75; Reduce skill tree from 186 to 150.
Increase SC/SI limits. Validate over1500 SIs (but this check seems to have died)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/vars.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/vars.sh b/tools/vars.sh
index 44ede9d..f6f2c11 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -3,7 +3,7 @@
# NOTE: ecommon/init.c needs to be updated when vars.sh changes
# what the plugin adds:
-MAX_EVOL_SKILLS=60
+MAX_EVOL_SKILLS=75
MAX_EVOL_SC=5
MAX_EVOL_SI=25
@@ -12,17 +12,19 @@ OLD_SI_MAX=1150 # from constants
OLD_SC_MAX=677 # in src/map/status.h
OLD_MAX_SKILL_ID=10015 # in src/common/mmo.h
OLD_MAX_SKILL_DB=1510 # in src/common/mmo.h
-OLD_MAX_SKILL_TREE=86 # in src/common/mmo.h
+OLD_MAX_SKILL_TREE=50 # in src/common/mmo.h
OLD_IT_MAX=19 # in src/common/mmo.h
# constants:
EVOL_FIRST_SKILL=20000 # skills have to be saved to SQL so they shouldn't change ID
+SC_MAX=1010 # Some SCs can be in SQL as well, so they shouldn't change ID
+SI_MAX=1550 # SIs can change ID but could quickly get troublesome
# calculated:
MAX_SKILL_DB=$(($OLD_MAX_SKILL_DB + $MAX_EVOL_SKILLS))
MAX_SKILL_ID=$(($EVOL_FIRST_SKILL + $MAX_EVOL_SKILLS))
-SC_MAX=$(($OLD_SC_MAX + $MAX_EVOL_SC))
-SI_MAX=$(($OLD_SI_MAX + $MAX_EVOL_SI))
+#SC_MAX=$(($OLD_SC_MAX + $MAX_EVOL_SC))
+#SI_MAX=$(($OLD_SI_MAX + $MAX_EVOL_SI))
CUSTOM_SKILL_RANGES="{${EVOL_FIRST_SKILL},${MAX_SKILL_ID}},"
MAX_SKILL_TREE=$(($OLD_MAX_SKILL_TREE + $MAX_EVOL_SKILLS))
IT_VIRTUAL=$(($OLD_IT_MAX + 1))