|
|
@ -467,12 +467,12 @@ public class ItemTemplate { |
|
|
|
|
|
|
|
|
|
|
|
JSONObject rune_speed_json = (JSONObject) jsonObject.get("rune_speed"); |
|
|
|
JSONObject rune_speed_json = (JSONObject) jsonObject.get("rune_speed"); |
|
|
|
|
|
|
|
|
|
|
|
/* for (Object key : rune_speed_json.keySet()) { |
|
|
|
for (Object key : rune_speed_json.keySet()) { |
|
|
|
Enum.MovementType movementType = Enum.MovementType.valueOf((String) key); |
|
|
|
Enum.MovementType movementType = Enum.MovementType.valueOf((String) key); |
|
|
|
float speed = ((Double) rune_speed_json.get(key)).floatValue(); |
|
|
|
float speed = ((Double) rune_speed_json.get(key)).floatValue(); |
|
|
|
rune_speed.put(movementType, speed); |
|
|
|
rune_speed.put(movementType, speed); |
|
|
|
} |
|
|
|
} |
|
|
|
*/ |
|
|
|
|
|
|
|
rune_group_type = ((Long) jsonObject.get("rune_group_type")).intValue(); |
|
|
|
rune_group_type = ((Long) jsonObject.get("rune_group_type")).intValue(); |
|
|
|
rune_group_is_faction = ((Boolean) jsonObject.get("rune_group_is_faction")); |
|
|
|
rune_group_is_faction = ((Boolean) jsonObject.get("rune_group_is_faction")); |
|
|
|
rune_group_is_guild = ((Boolean) jsonObject.get("rune_group_is_guild")); |
|
|
|
rune_group_is_guild = ((Boolean) jsonObject.get("rune_group_is_guild")); |
|
|
|