Browse Source

More parsing work; sparse_data field loaded into string for now.

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

11
src/engine/objects/ItemTemplate.java

@ -473,6 +473,17 @@ public class ItemTemplate { @@ -473,6 +473,17 @@ public class ItemTemplate {
rune_speed.put(movementType, speed);
}
rune_group_type = ((Long) jsonObject.get("rune_group_type")).intValue();
rune_group_is_faction = ((Boolean) jsonObject.get("rune_group_is_faction"));
rune_group_is_guild = ((Boolean) jsonObject.get("rune_group_is_guild"));
rune_dsc = (String) jsonObject.get("rune_dsc");
rune_fx_txt = (String) jsonObject.get("rune_fx_txt");
rune_group_tactics = ((Long) jsonObject.get("rune_group_tactics")).intValue();
rune_group_role_set = ((Long) jsonObject.get("rune_group_role_set")).intValue();
rune_renderable = ((Boolean) jsonObject.get("rune_renderable"));
rune_natural_power_attack = ((Long) jsonObject.get("rune_natural_power_attack")).intValue();
rune_sparse_data = (String) jsonObject.get("rune_sparse_data");
JSONArray attr_adj_json = (JSONArray) jsonObject.get("rune_attr_adj");

Loading…
Cancel
Save