|
|
|
@ -36,7 +36,13 @@ public class ItemTemplate {
@@ -36,7 +36,13 @@ public class ItemTemplate {
|
|
|
|
|
|
|
|
|
|
obj_render_object = ((Long) jsonObject.get("obj_render_object")).intValue(); |
|
|
|
|
|
|
|
|
|
combat_attack_resist = (HashMap<String, Float>) jsonObject.get("combat_attack_resist"); |
|
|
|
|
JSONObject resist_json = (JSONObject) jsonObject.get("combat_attack_resist"); |
|
|
|
|
|
|
|
|
|
for (Object key : resist_json.keySet()) { |
|
|
|
|
Float resist = (Float) resist_json.get((String) key); |
|
|
|
|
combat_attack_resist.put((String) key, resist); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|