summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ecommon/init.c1
-rwxr-xr-xtools/vars.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ecommon/init.c b/src/ecommon/init.c
index 668fc11..c58de23 100644
--- a/src/ecommon/init.c
+++ b/src/ecommon/init.c
@@ -51,4 +51,5 @@ void common_online(void)
checkVar(OLD_MAX_SKILL_DB, 1510);
checkVar(MAX_EVOL_SKILLS, 22);
checkVar(EVOL_FIRST_SKILL, 20000);
+ checkVar(MAX_SKILL_TREE, 110);
}
diff --git a/tools/vars.sh b/tools/vars.sh
index dd417ca..42a507e 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -7,8 +7,9 @@
# MAX_EVOL_SKILLS 22
# EVOL_FIRST_SKILL 20000
# OLD_MAX_SKILL_DB 1510
+# MAX_SKILL_TREE 110
# can be used for custom skill id: 10016 - 10036
-export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_SKILL_DB=1532 -DMAX_SKILL_ID=20022 -DMAX_EVOL_SKILLS=22 -DEVOL_FIRST_SKILL=20000 -DSC_MAX=658 -DSI_MAX=971 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531"
+export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_SKILL_DB=1532 -DMAX_SKILL_ID=20022 -DMAX_EVOL_SKILLS=22 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=110 -DSC_MAX=658 -DSI_MAX=971 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531"
export CPPFLAGS="${VARS}"