|
|
@ -209,7 +209,7 @@ public class ItemTemplate { |
|
|
|
item_weapon_damage.put(sourceType, minMax); |
|
|
|
item_weapon_damage.put(sourceType, minMax); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
JSONArray attack_anim_right = (JSONArray) jsonObject.get("weapon_attack_anim_right"); |
|
|
|
JSONArray attack_anim_right = (JSONArray) item_weapon.get("weapon_attack_anim_right"); |
|
|
|
|
|
|
|
|
|
|
|
if (attack_anim_right.isEmpty() == false) |
|
|
|
if (attack_anim_right.isEmpty() == false) |
|
|
|
for (Object o : weapon_damage) { |
|
|
|
for (Object o : weapon_damage) { |
|
|
@ -219,7 +219,7 @@ public class ItemTemplate { |
|
|
|
weapon_attack_anim_right.add(new int[]{animation, duration}); |
|
|
|
weapon_attack_anim_right.add(new int[]{animation, duration}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
JSONArray attack_anim_left = (JSONArray) jsonObject.get("attack_anim_left"); |
|
|
|
JSONArray attack_anim_left = (JSONArray) item_weapon.get("attack_anim_left"); |
|
|
|
|
|
|
|
|
|
|
|
if (attack_anim_left.isEmpty() == false) |
|
|
|
if (attack_anim_left.isEmpty() == false) |
|
|
|
for (Object o : weapon_damage) { |
|
|
|
for (Object o : weapon_damage) { |
|
|
|