summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-05 17:52:45 +0000
committerAndrei Karas <akaras@inbox.ru>2019-04-05 17:52:45 +0000
commitd9711288beba1ed7320f30252f1a1a2035da4023 (patch)
treea4f567b983dfb7dfa01f298e515510689af61a1c
parentf9039b6502bdec295f52189a6662a5d211a1c0f0 (diff)
parent6b226377c3e680f0af28b78e05d11ae1a4c12d61 (diff)
downloadplugin-d9711288beba1ed7320f30252f1a1a2035da4023.tar.gz
plugin-d9711288beba1ed7320f30252f1a1a2035da4023.tar.bz2
plugin-d9711288beba1ed7320f30252f1a1a2035da4023.tar.xz
plugin-d9711288beba1ed7320f30252f1a1a2035da4023.zip
Merge branch 'jesusalva/skilltree' into 'master'
Grant Micksha 24 extra skills slots See merge request evol/evol-hercules!13
-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}"