|
|
@ -10,10 +10,7 @@ package engine.wpak; |
|
|
|
|
|
|
|
|
|
|
|
import engine.gameManager.ConfigManager; |
|
|
|
import engine.gameManager.ConfigManager; |
|
|
|
import engine.mbEnums; |
|
|
|
import engine.mbEnums; |
|
|
|
import engine.wpak.data.EquipmentPreReq; |
|
|
|
import engine.wpak.data.*; |
|
|
|
import engine.wpak.data.PowerAction; |
|
|
|
|
|
|
|
import engine.wpak.data.PowerData; |
|
|
|
|
|
|
|
import engine.wpak.data.PowerEntry; |
|
|
|
|
|
|
|
import org.pmw.tinylog.Logger; |
|
|
|
import org.pmw.tinylog.Logger; |
|
|
|
|
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
import java.io.IOException; |
|
|
@ -216,6 +213,13 @@ public class PowersParser { |
|
|
|
case "BLADETRAILS": |
|
|
|
case "BLADETRAILS": |
|
|
|
powerEntry.bladeTrails = Boolean.parseBoolean(lineValues[1].trim()); |
|
|
|
powerEntry.bladeTrails = Boolean.parseBoolean(lineValues[1].trim()); |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case "EFFECTPREREQ": |
|
|
|
|
|
|
|
EffectPreReq effectPreReq = new EffectPreReq(); |
|
|
|
|
|
|
|
arguments = lineValues[1].trim().split("\\s+"); |
|
|
|
|
|
|
|
effectPreReq.effect_id = arguments[9]; |
|
|
|
|
|
|
|
effectPreReq.level = Integer.parseInt(arguments[1]); |
|
|
|
|
|
|
|
effectPreReq.message = arguments[2]; |
|
|
|
|
|
|
|
break; |
|
|
|
case "SOUNDS": // Values not parsed
|
|
|
|
case "SOUNDS": // Values not parsed
|
|
|
|
case "APPLYDAMAGECASTER": |
|
|
|
case "APPLYDAMAGECASTER": |
|
|
|
case "APPLYDAMAGEOTHER": |
|
|
|
case "APPLYDAMAGEOTHER": |
|
|
|