skills_granted_array started for rune

This commit is contained in:
2024-04-03 13:40:24 -04:00
parent 26fd6f8de2
commit 3e2f420c30
+4 -1
View File
@@ -102,8 +102,8 @@ public class ItemTemplate {
public HashMap<Enum.AttributeType, Integer> rune_attr_adj = new HashMap<>();
public HashMap<Enum.AttributeType, Integer> rune_max_attr_adj = new HashMap<>();
public HashMap<String, Integer> rune_skill_grant = new HashMap<>();
public HashMap<Integer, Integer> 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");
}
}