Browse Source

More poweraction parsing work.

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

3
src/engine/wpak/PowerActionParser.java

@ -246,6 +246,9 @@ public class PowerActionParser {
case "DESTROYOLDPET": case "DESTROYOLDPET":
powerActionEntry.destroyOldPet = Boolean.parseBoolean(lineValues[1].trim()); powerActionEntry.destroyOldPet = Boolean.parseBoolean(lineValues[1].trim());
break; break;
case "DAMAGETYPE":
powerActionEntry.damageType = mbEnums.DamageType.valueOf(lineValues[1].trim());
break;
case "APPLYEFFECTOTHER": case "APPLYEFFECTOTHER":
case "APPLYEFFECTSELF": case "APPLYEFFECTSELF":
case "WEAROFFEFFECTOTHER": // Keys not parsed go here. case "WEAROFFEFFECTOTHER": // Keys not parsed go here.

Loading…
Cancel
Save