More rune parsing work
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user