From 3e2f420c30746ce811c2406f3bf7302781587b98 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 3 Apr 2024 13:40:24 -0400 Subject: [PATCH] skills_granted_array started for rune --- src/engine/objects/ItemTemplate.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"); + } }