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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index fcce487..c777a44 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -64,6 +64,16 @@ void eitemdb_readdb_additional_fields(int *itemid,
data->requiredDex = i32;
if (libconfig->setting_lookup_int(it, "RequiredLuk", &i32) && i32 >= 0)
data->requiredLuk = i32;
+ if (libconfig->setting_lookup_int(it, "RequiredMaxHp", &i32) && i32 >= 0)
+ data->requiredMaxHp = i32;
+ if (libconfig->setting_lookup_int(it, "RequiredMaxSp", &i32) && i32 >= 0)
+ data->requiredMaxSp = i32;
+ if (libconfig->setting_lookup_int(it, "RequiredAtk", &i32) && i32 >= 0)
+ data->requiredAtk = i32;
+ if (libconfig->setting_lookup_int(it, "RequiredMAtkMin", &i32) && i32 >= 0)
+ data->requiredMAtkMin = i32;
+ if (libconfig->setting_lookup_int(it, "RequiredMAtkMax", &i32) && i32 >= 0)
+ data->requiredMAtkMax = i32;
hookStop();
}