|
|
@ -167,7 +167,7 @@ public class ItemTemplate { |
|
|
|
|
|
|
|
|
|
|
|
JSONObject weapon_damage = (JSONObject) jsonObject.get("weapon_damage"); |
|
|
|
JSONObject weapon_damage = (JSONObject) jsonObject.get("weapon_damage"); |
|
|
|
item_weapon_damage_type = Enum.DamageType.valueOf((String) weapon_damage.get("damage_type")); |
|
|
|
item_weapon_damage_type = Enum.DamageType.valueOf((String) weapon_damage.get("damage_type")); |
|
|
|
item_weapon_damage_min = ((Long) weapon_damage.get("damage_mi")).intValue(); |
|
|
|
item_weapon_damage_min = ((Long) weapon_damage.get("damage_min")).intValue(); |
|
|
|
item_weapon_damage_max = ((Long) weapon_damage.get("damage_max")).intValue(); |
|
|
|
item_weapon_damage_max = ((Long) weapon_damage.get("damage_max")).intValue(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|