Browse Source

More poweraction parsing work.

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

2
src/engine/wpak/PowerActionParser.java

@ -247,7 +247,7 @@ public class PowerActionParser {
powerActionEntry.destroyOldPet = Boolean.parseBoolean(lineValues[1].trim()); powerActionEntry.destroyOldPet = Boolean.parseBoolean(lineValues[1].trim());
break; break;
case "DAMAGETYPE": case "DAMAGETYPE":
powerActionEntry.damageType = mbEnums.DamageType.valueOf(lineValues[1].trim()); powerActionEntry.damageType = mbEnums.DamageType.valueOf(lineValues[1].trim().toUpperCase());
break; break;
case "APPLYEFFECTOTHER": case "APPLYEFFECTOTHER":
case "APPLYEFFECTSELF": case "APPLYEFFECTSELF":

Loading…
Cancel
Save