summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index 50c2728..182c38b 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -79,5 +79,9 @@ void eitemdb_readdb_additional_fields(int *itemid,
if (libconfig->setting_lookup_int(it, "requiredMDef", &i32) && i32 >= 0)
data->requiredMDef = i32;
+ if (itemdb->lookup_const(it, "useEffect", &i32))
+ data->useEffect = i32;
+ if (itemdb->lookup_const(it, "useFailEffect", &i32))
+ data->useFailEffect = i32;
hookStop();
}