Browse Source

More poweraction parsing work.

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

2
src/engine/wpak/PowerActionParser.java

@ -139,7 +139,7 @@ public class PowerActionParser {
statTransfer.tranfer_ticks = Integer.parseInt(headerIterator.next()); statTransfer.tranfer_ticks = Integer.parseInt(headerIterator.next());
powerActionEntry.statTransfer = statTransfer; powerActionEntry.statTransfer = statTransfer;
break; break;
case "CHARM": case "Charm":
effectDescription = new EffectDescription(); effectDescription = new EffectDescription();
effectDescription.effect_id = headerIterator.next(); effectDescription.effect_id = headerIterator.next();
effectDescription.level = Integer.parseInt(headerIterator.next()); effectDescription.level = Integer.parseInt(headerIterator.next());

Loading…
Cancel
Save