forked from MagicBane/Server
Trailing bow can sometimes be missing the bool.
This commit is contained in:
@@ -153,10 +153,6 @@ public class PowersParser {
|
||||
ActionEntry actionEntry;
|
||||
List<String> arguments;
|
||||
Matcher argumentMatcher;
|
||||
int blah = 0;
|
||||
|
||||
if (powerEntry.power_id.equals("ASS-BACKSTAB"))
|
||||
blah = 1;
|
||||
|
||||
switch (key) {
|
||||
case "ACTION":
|
||||
@@ -213,7 +209,12 @@ public class PowersParser {
|
||||
EquipmentPreReq equipmentPreReq = new EquipmentPreReq();
|
||||
equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(argumentIterator.next());
|
||||
equipmentPreReq.skill = argumentIterator.next().replaceAll("\"", "");
|
||||
|
||||
if (argumentIterator.hasNext())
|
||||
equipmentPreReq.required = Integer.parseInt(argumentIterator.next());
|
||||
else
|
||||
equipmentPreReq.required = 0;
|
||||
|
||||
powerEntry.equipmentPreReq.add(equipmentPreReq);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user