Browse Source

More poweraction parsing work.

feature-config-parsing2
MagicBot 3 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 { @@ -247,7 +247,7 @@ public class PowerActionParser {
powerActionEntry.destroyOldPet = Boolean.parseBoolean(lineValues[1].trim());
break;
case "DAMAGETYPE":
powerActionEntry.damageType = mbEnums.DamageType.valueOf(lineValues[1].trim());
powerActionEntry.damageType = mbEnums.DamageType.valueOf(lineValues[1].trim().toUpperCase());
break;
case "APPLYEFFECTOTHER":
case "APPLYEFFECTSELF":

Loading…
Cancel
Save