|
|
|
@ -105,10 +105,9 @@ public class ItemTemplate {
@@ -105,10 +105,9 @@ public class ItemTemplate {
|
|
|
|
|
item_render_object_female = ((Long) jsonObject.get("item_render_object_female")).intValue(); |
|
|
|
|
item_health_full = ((Double) jsonObject.get("item_health_full")).floatValue(); |
|
|
|
|
|
|
|
|
|
JSONArray skills_used = (JSONArray) jsonObject.get("item_skill_used"); |
|
|
|
|
Object skills_used = jsonObject.get("item_skill_used"); |
|
|
|
|
|
|
|
|
|
if (skills_used != null) |
|
|
|
|
for (Object o : skills_used) |
|
|
|
|
item_skill_used.add(Enum.CharacterSkills.valueOf((String) o)); |
|
|
|
|
item_skill_used.add(Enum.CharacterSkills.Axe); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|