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 c777a44..50c2728 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -74,6 +74,10 @@ void eitemdb_readdb_additional_fields(int *itemid,
data->requiredMAtkMin = i32;
if (libconfig->setting_lookup_int(it, "RequiredMAtkMax", &i32) && i32 >= 0)
data->requiredMAtkMax = i32;
+ if (libconfig->setting_lookup_int(it, "requiredDef", &i32) && i32 >= 0)
+ data->requiredDef = i32;
+ if (libconfig->setting_lookup_int(it, "requiredMDef", &i32) && i32 >= 0)
+ data->requiredMDef = i32;
hookStop();
}