|
|
@ -163,7 +163,7 @@ public class ItemTemplate { |
|
|
|
item_weapon_max_range = ((Double) item_weapon.get("weapon_max_range")).floatValue(); |
|
|
|
item_weapon_max_range = ((Double) item_weapon.get("weapon_max_range")).floatValue(); |
|
|
|
item_weapon_projectile_id = ((Long) item_weapon.get("weapon_projectile_id")).intValue(); |
|
|
|
item_weapon_projectile_id = ((Long) item_weapon.get("weapon_projectile_id")).intValue(); |
|
|
|
item_weapon_projectile_speed = ((Double) item_weapon.get("weapon_projectile_speed")).floatValue(); |
|
|
|
item_weapon_projectile_speed = ((Double) item_weapon.get("weapon_projectile_speed")).floatValue(); |
|
|
|
item_weapon_combat_idle_anim = ((Long) item_weapon.get("weapon_combat_idle_anime")).intValue(); |
|
|
|
item_weapon_combat_idle_anim = ((Long) item_weapon.get("weapon_combat_idle_anim")).intValue(); |
|
|
|
|
|
|
|
|
|
|
|
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")); |
|
|
|