diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 4f7b14b9..0e53119f 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -102,8 +102,8 @@ public class ItemTemplate { public HashMap rune_attr_adj = new HashMap<>(); public HashMap rune_max_attr_adj = new HashMap<>(); - public HashMap rune_skill_grant = new HashMap<>(); + public HashMap skill_granted_skills = new HashMap<>(); public ItemTemplate(JSONObject jsonObject) { @@ -438,6 +438,9 @@ public class ItemTemplate { String typeString = (String) skill_granted.get("skill_type"); int skill_level = ((Long) skill_granted.get("skill_value")).intValue(); rune_skill_grant.put(typeString, skill_level); + + JSONArray skill_granted_array = (JSONArray) skill_granted.get("skill_granted_skills"); + } }