Browse Source

More rune parsing work

combat-2
MagicBot 8 months ago
parent
commit
8830388728
  1. 2
      src/engine/objects/ItemTemplate.java

2
src/engine/objects/ItemTemplate.java

@ -101,6 +101,7 @@ public class ItemTemplate {
public HashMap<String, Integer> power_granted_skills = new HashMap<>(); public HashMap<String, Integer> power_granted_skills = new HashMap<>();
public String rune_type; public String rune_type;
public String rune_sub_type; public String rune_sub_type;
public boolean rune_is_standard_character_creation = false;
public ItemTemplate(JSONObject jsonObject) { public ItemTemplate(JSONObject jsonObject) {
@ -419,6 +420,7 @@ public class ItemTemplate {
rune_type = (String) jsonObject.get("rune_type"); rune_type = (String) jsonObject.get("rune_type");
rune_sub_type = (String) jsonObject.get("rune_sub_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"); JSONArray attr_adj_json = (JSONArray) jsonObject.get("rune_attr_adj");

Loading…
Cancel
Save