Browse Source

More PowerEntry work.

feature-config-parsing2
MagicBot 4 months ago
parent
commit
3498cc370f
  1. 3
      src/engine/wpak/PowersParser.java

3
src/engine/wpak/PowersParser.java

@ -201,7 +201,8 @@ public class PowersParser {
args.add(matcher1.group().trim()); args.add(matcher1.group().trim());
equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(args.get(0)); equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(args.get(0));
equipmentPreReq.skill = args.get(1); equipmentPreReq.skill = args.get(1).replaceAll("\"", "");
;
equipmentPreReq.level = Integer.parseInt(args.get(2)); equipmentPreReq.level = Integer.parseInt(args.get(2));
powerEntry.equipmentPreReq = equipmentPreReq; powerEntry.equipmentPreReq = equipmentPreReq;
break; break;

Loading…
Cancel
Save