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 fe74649..a196408 100644
--- a/src/ecommon/init.c
+++ b/src/ecommon/init.c
@@ -53,4 +53,5 @@ void common_online(void)
checkVar(MAX_EVOL_SKILLS, 62);
checkVar(EVOL_FIRST_SKILL, 20000);
checkVar(MAX_SKILL_TREE, 110);
+ checkVar(ATTACHITEM_COST, 500);
}
diff --git a/tools/vars.sh b/tools/vars.sh
index 97f3225..d6edacc 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -8,8 +8,9 @@
# EVOL_FIRST_SKILL 20000
# OLD_MAX_SKILL_DB 1510
# MAX_SKILL_TREE 110
+# ATTACHITEM_COST 500
# can be used for custom skill id: 10016 - 10036+20
-export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_SKILL_DB=1572 -DMAX_SKILL_ID=20062 -DMAX_EVOL_SKILLS=62 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=110 -DSC_MAX=658 -DSI_MAX=991 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531"
+export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_SKILL_DB=1572 -DMAX_SKILL_ID=20062 -DMAX_EVOL_SKILLS=62 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=110 -DSC_MAX=658 -DSI_MAX=991 -DATTACHITEM_COST=500 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531"
export CPPFLAGS="${VARS}"