diff options
author | gumi <git@gumi.ca> | 2020-08-22 09:49:32 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2020-08-22 09:49:32 -0400 |
commit | 6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7 (patch) | |
tree | f8d1004e1ed1a144ec4d51f5ec067ab85be291f6 /tools | |
parent | bc848331618cf512fadc41f4a88b628c13bca97c (diff) | |
download | plugin-6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7.tar.gz plugin-6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7.tar.bz2 plugin-6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7.tar.xz plugin-6ecfee0a8a9a84ccb659bd41dfb9f108eeffb9e7.zip |
add an IT_VIRTUAL item type for card groups
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/vars.sh | 5 |
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}" |