|
|
@ -47,7 +47,7 @@ public class ItemTemplate { |
|
|
|
JSONObject resist_json = (JSONObject) jsonObject.get("combat_attack_resist"); |
|
|
|
JSONObject resist_json = (JSONObject) jsonObject.get("combat_attack_resist"); |
|
|
|
|
|
|
|
|
|
|
|
for (Object key : resist_json.keySet()) { |
|
|
|
for (Object key : resist_json.keySet()) { |
|
|
|
Float resist = (Float) resist_json.get(key); |
|
|
|
float resist = ((Double) resist_json.get(key)).floatValue(); |
|
|
|
combat_attack_resist.put((String) key, resist); |
|
|
|
combat_attack_resist.put((String) key, resist); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|