|
|
|
@ -86,11 +86,12 @@ public class PowerActionParser {
@@ -86,11 +86,12 @@ public class PowerActionParser {
|
|
|
|
|
effectDescription.effect_id = headerIterator.next(); |
|
|
|
|
powerActionEntry.effects.add(effectDescription); |
|
|
|
|
case "CreateMob": |
|
|
|
|
powerActionEntry.arg1 = Integer.parseInt(headerIterator.next()); |
|
|
|
|
powerActionEntry.arg2 = Integer.parseInt(headerIterator.next()); |
|
|
|
|
powerActionEntry.petLevel = Integer.parseInt(headerIterator.next()); |
|
|
|
|
powerActionEntry.petRace = Integer.parseInt(headerIterator.next()); |
|
|
|
|
break; |
|
|
|
|
case "ApplyEffect": |
|
|
|
|
case "DeferredPower": |
|
|
|
|
case "DirectDamage": |
|
|
|
|
while (headerIterator.hasNext()) { |
|
|
|
|
effectDescription = new EffectDescription(); |
|
|
|
|
effectDescription.effect_id = headerIterator.next(); |
|
|
|
@ -98,7 +99,6 @@ public class PowerActionParser {
@@ -98,7 +99,6 @@ public class PowerActionParser {
|
|
|
|
|
powerActionEntry.effects.add(effectDescription); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
default: |
|
|
|
|
Logger.error("Unhandled type " + powerActionEntry.action_type + " for Pow4erAction: " + powerActionEntry.action_id); |
|
|
|
|
break; |
|
|
|
|