|  |  | @ -42,8 +42,7 @@ public class PowersParser { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     private static <Iterator> PowerEntry parsePowerEntry(String powerData) { |  |  |  |     private static PowerEntry parsePowerEntry(String powerData) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         PowerEntry powerEntry = new PowerEntry(); |  |  |  |         PowerEntry powerEntry = new PowerEntry(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -69,7 +68,6 @@ public class PowersParser { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             PowerData power = new PowerData(); |  |  |  |             PowerData power = new PowerData(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             power.power_type = iterator.next(); |  |  |  |             power.power_type = iterator.next(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             ; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             power.icon = Integer.parseInt(iterator.next()); |  |  |  |             power.icon = Integer.parseInt(iterator.next()); | 
			
		
	
		
		
			
				
					
					|  |  |  |             power.powerBase = iterator.next().replaceAll("\"", ""); |  |  |  |             power.powerBase = iterator.next().replaceAll("\"", ""); | 
			
		
	
		
		
			
				
					
					|  |  |  |             powerEntry.powers.add(power); |  |  |  |             powerEntry.powers.add(power); | 
			
		
	
	
		
		
			
				
					|  |  | @ -78,8 +76,7 @@ public class PowersParser { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             // Account for second definition
 |  |  |  |             // Account for second definition
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (powerEntry.target_type.equals("SPELL") || |  |  |  |             if (powerEntry.target_type.equals("SPELL") || powerEntry.target_type.equals("SKILL")) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     powerEntry.target_type.equals("SKILL")) { |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 power = new PowerData(); |  |  |  |                 power = new PowerData(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 power.power_type = powerEntry.target_type; |  |  |  |                 power.power_type = powerEntry.target_type; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 power.icon = Integer.parseInt(iterator.next()); |  |  |  |                 power.icon = Integer.parseInt(iterator.next()); | 
			
		
	
	
		
		
			
				
					|  |  | @ -106,10 +103,10 @@ public class PowersParser { | 
			
		
	
		
		
			
				
					
					|  |  |  |             powerEntry.targetSelect = iterator.next(); |  |  |  |             powerEntry.targetSelect = iterator.next(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         for (int x = 2; x < powerEntries.length; x++) { |  |  |  |             for (int x = 2; x < powerEntries.length; x++) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             // Parse key/pair values
 |  |  |  |                 // Parse key/pair values
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             // via switch
 |  |  |  |                 // via switch
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |             } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         } catch (Exception e) { |  |  |  |         } catch (Exception e) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             Logger.error(powerEntry.power_id); |  |  |  |             Logger.error(powerEntry.power_id); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |