More rune parsing work

This commit is contained in:
2024-04-04 09:56:25 -04:00
parent 68b9f9e887
commit 8830388728
+2
View File
@@ -101,6 +101,7 @@ public class ItemTemplate {
public HashMap<String, Integer> power_granted_skills = new HashMap<>();
public String rune_type;
public String rune_sub_type;
public boolean rune_is_standard_character_creation = false;
public ItemTemplate(JSONObject jsonObject) {
@@ -419,6 +420,7 @@ public class ItemTemplate {
rune_type = (String) jsonObject.get("rune_type");
rune_sub_type = (String) jsonObject.get("rune_sub_type");
rune_is_standard_character_creation = ((Boolean) jsonObject.get("rune_is_standard_character_creation"));
JSONArray attr_adj_json = (JSONArray) jsonObject.get("rune_attr_adj");