diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-06-28 13:30:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-06-28 13:30:02 -0300 |
commit | 14b1a328acd73ee4bbf7cd8676b1bd21f43e469c (patch) | |
tree | fa2de6fd3f0e4788e1d21a10bb2ab7b196b11e75 | |
parent | d4cc62d5a1497a0bdf600792a151a1f3fad52e38 (diff) | |
download | evol-hercules-14b1a328acd73ee4bbf7cd8676b1bd21f43e469c.tar.gz evol-hercules-14b1a328acd73ee4bbf7cd8676b1bd21f43e469c.tar.bz2 evol-hercules-14b1a328acd73ee4bbf7cd8676b1bd21f43e469c.tar.xz evol-hercules-14b1a328acd73ee4bbf7cd8676b1bd21f43e469c.zip |
Reduce pet loot weight to 10kg to keep the 50% healing effect rule in mind.
-rw-r--r-- | src/emap/itemdb.c | 3 | ||||
-rwxr-xr-x | tools/vars.sh | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/emap/itemdb.c b/src/emap/itemdb.c index e60783b..03c632b 100644 --- a/src/emap/itemdb.c +++ b/src/emap/itemdb.c @@ -148,6 +148,9 @@ void eitemdb_readdb_additional_fields_pre(int *itemid, while ((it2 = libconfig->setting_get_elem(group, idx ++))) { const char *name = config_setting_name(it2); + // TODO: [5000, 5010]: 1 + // Allow the range to work, and restrict to 1 card in whole range + // via allowedRange->{min,max,amount} if (name && strncmp(name, "id", 2) && strncmp(name, "Id", 2)) { ShowWarning("Unknown field AllowCards for item %s\n", item->name); diff --git a/tools/vars.sh b/tools/vars.sh index c99599f..0f6507d 100755 --- a/tools/vars.sh +++ b/tools/vars.sh @@ -12,5 +12,5 @@ # can be used for custom skill id: 10016 - 10036+20 -export VARS=" -DMAX_LEVEL=200 -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_INVENTORY=120 -DMAX_CART=25 -DMAX_AMOUNT=32500 -DMAX_SKILL_DB=1660 -DMAX_SKILL_ID=20150 -DMAX_EVOL_SKILLS=150 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=200 -DMAX_HOMUNSKILL=63 -DSC_MAX=658 -DSI_MAX=991 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531 -DTCP_THIN_DUPACK=1 -DTCP_THIN_LINEAR_TIMEOUTS=1 -DPYTHON_LOGS=1" +export VARS=" -DMAX_LEVEL=200 -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_INVENTORY=120 -DMAX_CART=25 -DMAX_AMOUNT=32500 -DMAX_SKILL_DB=1660 -DMAX_SKILL_ID=20150 -DMAX_EVOL_SKILLS=150 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=200 -DMAX_HOMUNSKILL=63 -DSC_MAX=658 -DSI_MAX=991 -DMAX_PETLOOT_STACK_WEIGHT=10000 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531 -DTCP_THIN_DUPACK=1 -DTCP_THIN_LINEAR_TIMEOUTS=1 -DPYTHON_LOGS=1" export CPPFLAGS="${VARS}" |