Browse Source

PowerAction parsing work.

feature-config-parsing2
MagicBot 4 months ago
parent
commit
c42d438a7c
  1. 3
      src/engine/wpak/PowerActionParser.java

3
src/engine/wpak/PowerActionParser.java

@ -85,6 +85,9 @@ public class PowerActionParser { @@ -85,6 +85,9 @@ public class PowerActionParser {
powerActionEntry.effect_id = headerIterator.next();
break;
case "CreateMob":
powerActionEntry.arg1 = Integer.parseInt(headerIterator.next());
powerActionEntry.arg2 = Integer.parseInt(headerIterator.next());
break;
case "DamageOverTime":
powerActionEntry.effect_id = headerIterator.next();
powerActionEntry.arg1 = Integer.parseInt(headerIterator.next());

Loading…
Cancel
Save