summaryrefslogtreecommitdiff
path: root/tools/vars.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vars.sh')
-rwxr-xr-xtools/vars.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/vars.sh b/tools/vars.sh
index 3571999..1f5a596 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -13,6 +13,7 @@ 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_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
@@ -24,8 +25,10 @@ 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))
+IT_MAX=$(($IT_VIRTUAL + 1))
# can be used for custom skill id: 10016 - 10036
-export VARS=" -DOLD_SI_MAX=${OLD_SI_MAX} -DOLD_SC_MAX=${OLD_SC_MAX} -DOLD_MAX_SKILL_DB=${OLD_MAX_SKILL_DB} -DMAX_SKILL_DB=${MAX_SKILL_DB} -DMAX_SKILL_ID=${MAX_SKILL_ID} -DMAX_EVOL_SKILLS=${MAX_EVOL_SKILLS} -DEVOL_FIRST_SKILL=${EVOL_FIRST_SKILL} -DCUSTOM_SKILL_RANGES=\"${CUSTOM_SKILL_RANGES}\" -DMAX_SKILL_TREE=${MAX_SKILL_TREE} -DSC_MAX=${SC_MAX} -DSI_MAX=${SI_MAX} -DBASE_GUILD_SIZE=100 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531"
+export VARS=" -DOLD_SI_MAX=${OLD_SI_MAX} -DOLD_SC_MAX=${OLD_SC_MAX} -DOLD_MAX_SKILL_DB=${OLD_MAX_SKILL_DB} -DMAX_SKILL_DB=${MAX_SKILL_DB} -DMAX_SKILL_ID=${MAX_SKILL_ID} -DMAX_EVOL_SKILLS=${MAX_EVOL_SKILLS} -DEVOL_FIRST_SKILL=${EVOL_FIRST_SKILL} -DCUSTOM_SKILL_RANGES=\"${CUSTOM_SKILL_RANGES}\" -DMAX_SKILL_TREE=${MAX_SKILL_TREE} -DSC_MAX=${SC_MAX} -DSI_MAX=${SI_MAX} -DBASE_GUILD_SIZE=100 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531 -DIT_VIRTUAL=${IT_VIRTUAL} -DIT_MAX=${IT_MAX}"
export CPPFLAGS="${VARS}"