diff options
Diffstat (limited to 'src/emap/itemdb.c')
-rw-r--r-- | src/emap/itemdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/itemdb.c b/src/emap/itemdb.c index f79cc7e..63434bf 100644 --- a/src/emap/itemdb.c +++ b/src/emap/itemdb.c @@ -82,6 +82,8 @@ void eitemdb_readdb_additional_fields(int *itemid, data->requiredDef = i32; if (libconfig->setting_lookup_int(it, "RequiredMDef", &i32) && i32 >= 0) data->requiredMDef = i32; + if (itemdb->lookup_const(it, "RequiredSkill", &i32)) + data->requiredSkill = i32; if (libconfig->setting_lookup_bool(it, "Charm", &i32) && i32 >= 0) data->charmItem = i32 ? true : false; |