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 {
while (argumentIterator.hasNext()) { while (argumentIterator.hasNext()) {
EquipmentPreReq equipmentPreReq = new EquipmentPreReq(); EquipmentPreReq equipmentPreReq = new EquipmentPreReq();
equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(arguments.get(0)); equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(argumentIterator.next());
equipmentPreReq.skill = arguments.get(1).replaceAll("\"", ""); equipmentPreReq.skill = argumentIterator.next().replaceAll("\"", "");
equipmentPreReq.required = Integer.parseInt(arguments.get(2)); equipmentPreReq.required = Integer.parseInt(argumentIterator.next());
powerEntry.equipmentPreReq.add(equipmentPreReq); powerEntry.equipmentPreReq.add(equipmentPreReq);
} }
break; break;

Loading…
Cancel
Save