More PowerAction parsing work.
This commit is contained in:
@@ -103,11 +103,12 @@ public class PowerActionParser {
|
||||
powerActionEntry.effects.add(effectDescription);
|
||||
break;
|
||||
case "ApplyEffects":
|
||||
int level = Integer.parseInt(headerIterator.next());
|
||||
|
||||
while (headerIterator.hasNext()) {
|
||||
effectDescription = new EffectDescription();
|
||||
effectDescription.level = Integer.parseInt(headerIterator.next());
|
||||
effectDescription.level = level;
|
||||
effectDescription.effect_id = headerIterator.next();
|
||||
effectDescription.type = headerIterator.next();
|
||||
powerActionEntry.effects.add(effectDescription);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user