|
|
@ -59,18 +59,21 @@ public class PowersParser { |
|
|
|
|
|
|
|
|
|
|
|
powerEntry.power_id = powerHeader.get(0); |
|
|
|
powerEntry.power_id = powerHeader.get(0); |
|
|
|
powerEntry.power_name = powerHeader.get(1).replaceAll("\"", ""); |
|
|
|
powerEntry.power_name = powerHeader.get(1).replaceAll("\"", ""); |
|
|
|
; |
|
|
|
|
|
|
|
powerEntry.power_type = powerHeader.get(2); |
|
|
|
powerEntry.power_type = powerHeader.get(2); |
|
|
|
powerEntry.skill_id = Integer.parseInt(powerHeader.get(3)); |
|
|
|
powerEntry.skill_id = Integer.parseInt(powerHeader.get(3)); |
|
|
|
powerEntry.skill_name = powerHeader.get(4).replaceAll("\"", ""); |
|
|
|
powerEntry.skill_name = powerHeader.get(4).replaceAll("\"", ""); |
|
|
|
; |
|
|
|
|
|
|
|
powerEntry.target_type = powerHeader.get(5); |
|
|
|
powerEntry.target_type = powerHeader.get(5); |
|
|
|
powerEntry.range = Integer.parseInt(powerHeader.get(6)); |
|
|
|
powerEntry.range = Integer.parseInt(powerHeader.get(6)); |
|
|
|
powerEntry.radiusType = powerHeader.get(7); |
|
|
|
powerEntry.radiusType = powerHeader.get(7); |
|
|
|
powerEntry.radius = Integer.parseInt(powerHeader.get(8)); |
|
|
|
powerEntry.radius = Integer.parseInt(powerHeader.get(8)); |
|
|
|
powerEntry.groupReq = powerHeader.get(7); |
|
|
|
powerEntry.groupReq = powerHeader.get(9); |
|
|
|
powerEntry.costType = powerHeader.get(7); |
|
|
|
powerEntry.costType = powerHeader.get(10); |
|
|
|
powerEntry.cost = Integer.parseInt(powerHeader.get(8)); |
|
|
|
powerEntry.cost = Integer.parseInt(powerHeader.get(11)); |
|
|
|
|
|
|
|
powerEntry.unknown01 = Integer.parseInt(powerHeader.get(12)); |
|
|
|
|
|
|
|
powerEntry.unknown02 = Integer.parseInt(powerHeader.get(13)); |
|
|
|
|
|
|
|
powerEntry.cast_time = Float.parseFloat(powerHeader.get(14)); |
|
|
|
|
|
|
|
powerEntry.cool_down = Float.parseFloat(powerHeader.get(15)); |
|
|
|
|
|
|
|
powerEntry.recycle_time = Float.parseFloat(powerHeader.get(16)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (int x = 2; x < powerEntries.length; x++) { |
|
|
|
for (int x = 2; x < powerEntries.length; x++) { |
|
|
|