Browse Source

Track fields updated

feature-config-usage
MagicBot 4 months ago
parent
commit
65b10f72fa
  1. 6
      src/engine/wpak/PowerActionParser.java
  2. 6
      src/engine/wpak/data/TrackEntry.java

6
src/engine/wpak/PowerActionParser.java

@ -179,9 +179,9 @@ public class PowerActionParser {
case "Track": case "Track":
trackEntry = new TrackEntry(); trackEntry = new TrackEntry();
trackEntry.action_id = headerIterator.next(); trackEntry.action_id = headerIterator.next();
trackEntry.unknown1 = Boolean.parseBoolean(headerIterator.next()); trackEntry.trackPlayer = Boolean.parseBoolean(headerIterator.next());
trackEntry.unknown2 = Boolean.parseBoolean(headerIterator.next()); trackEntry.trackCorpse = Boolean.parseBoolean(headerIterator.next());
trackEntry.type = headerIterator.next(); trackEntry.filter = headerIterator.next();
trackEntry.min = Integer.parseInt(headerIterator.next()); trackEntry.min = Integer.parseInt(headerIterator.next());
trackEntry.max = Integer.parseInt(headerIterator.next()); trackEntry.max = Integer.parseInt(headerIterator.next());
powerAction.trackEntry = trackEntry; powerAction.trackEntry = trackEntry;

6
src/engine/wpak/data/TrackEntry.java

@ -11,9 +11,9 @@ package engine.wpak.data;
public class TrackEntry { public class TrackEntry {
public String action_id; public String action_id;
public Boolean unknown1; public Boolean trackPlayer;
public Boolean unknown2; public Boolean trackCorpse;
public String type; public String filter;
public int min; public int min;
public int max; public int max;
} }

Loading…
Cancel
Save