Browse Source

Parsing update for eqreqs

feature-config-usage
MagicBot 2 weeks ago
parent
commit
5fa79fbac6
  1. 6
      src/engine/wpak/PowersParser.java

6
src/engine/wpak/PowersParser.java

@ -207,9 +207,9 @@ public class PowersParser { @@ -207,9 +207,9 @@ public class PowersParser {
while (argumentIterator.hasNext()) {
EquipmentPreReq equipmentPreReq = new EquipmentPreReq();
equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(arguments.get(0));
equipmentPreReq.skill = arguments.get(1).replaceAll("\"", "");
equipmentPreReq.required = Integer.parseInt(arguments.get(2));
equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(argumentIterator.next());
equipmentPreReq.skill = argumentIterator.next().replaceAll("\"", "");
equipmentPreReq.required = Integer.parseInt(argumentIterator.next());
powerEntry.equipmentPreReq.add(equipmentPreReq);
}
break;

Loading…
Cancel
Save