Browse Source

More poweraction parsing work.

feature-config-parsing2
MagicBot 4 months ago
parent
commit
2691b4317b
  1. 5
      src/engine/wpak/PowerActionParser.java

5
src/engine/wpak/PowerActionParser.java

@ -155,9 +155,10 @@ public class PowerActionParser {
case "Resurrect": case "Resurrect":
powerActionEntry.levelCap = Integer.parseInt(headerIterator.next()); powerActionEntry.levelCap = Integer.parseInt(headerIterator.next());
break; break;
case "Recall": case "Recall": // No arguments for these tags or not parsed
case "Teleport":// No arguments for these tags case "Teleport":
case "TreeChoke": case "TreeChoke":
case "SimpleDamage":
break; break;
default: default:
Logger.error("Unhandled type " + powerActionEntry.action_type + " for Pow4erAction: " + powerActionEntry.action_id); Logger.error("Unhandled type " + powerActionEntry.action_type + " for Pow4erAction: " + powerActionEntry.action_id);

Loading…
Cancel
Save