summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-06-28 13:30:02 -0300
committerJesusaves <cpntb1@ymail.com>2024-06-28 13:30:02 -0300
commit14b1a328acd73ee4bbf7cd8676b1bd21f43e469c (patch)
treefa2de6fd3f0e4788e1d21a10bb2ab7b196b11e75 /src
parentd4cc62d5a1497a0bdf600792a151a1f3fad52e38 (diff)
downloadevol-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.
Diffstat (limited to 'src')
-rw-r--r--src/emap/itemdb.c3
1 files changed, 3 insertions, 0 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);