summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-05 17:52:45 +0000
committerAndrei Karas <akaras@inbox.ru>2019-04-05 17:52:45 +0000
commit6b226377c3e680f0af28b78e05d11ae1a4c12d61 (patch)
treea4f567b983dfb7dfa01f298e515510689af61a1c
parentf9039b6502bdec295f52189a6662a5d211a1c0f0 (diff)
downloadevol-hercules-6b226377c3e680f0af28b78e05d11ae1a4c12d61.tar.gz
evol-hercules-6b226377c3e680f0af28b78e05d11ae1a4c12d61.tar.bz2
evol-hercules-6b226377c3e680f0af28b78e05d11ae1a4c12d61.tar.xz
evol-hercules-6b226377c3e680f0af28b78e05d11ae1a4c12d61.zip
Grant Micksha 24 extra skills slots
-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}"