|
|
@ -58,10 +58,12 @@ public class PowersParser { |
|
|
|
powerHeader.add(matcher.group().trim()); |
|
|
|
powerHeader.add(matcher.group().trim()); |
|
|
|
|
|
|
|
|
|
|
|
powerEntry.power_id = powerHeader.get(0); |
|
|
|
powerEntry.power_id = powerHeader.get(0); |
|
|
|
powerEntry.power_name = powerHeader.get(1); |
|
|
|
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); |
|
|
|
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); |
|
|
|