summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-30 00:16:07 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-30 00:16:07 -0300
commitaf0898e6e7e65348a7235952be5d7ffd90174cd8 (patch)
treea39dfb88b2b91e041badafc22bbc550b51cdc31b
parent258334d6e0481416fa3d22f239c2833bcf8e5313 (diff)
downloadevol-hercules-af0898e6e7e65348a7235952be5d7ffd90174cd8.tar.gz
evol-hercules-af0898e6e7e65348a7235952be5d7ffd90174cd8.tar.bz2
evol-hercules-af0898e6e7e65348a7235952be5d7ffd90174cd8.tar.xz
evol-hercules-af0898e6e7e65348a7235952be5d7ffd90174cd8.zip
RoDex Mail System: Sending items now cost 500 GP instead of 2500 GP
-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}"