Browse Source

added missing source types

feature-config-usage
FatBoy-DOTC 2 weeks ago
parent
commit
6ac05d3db2
  1. 15
      src/engine/mbEnums.java
  2. 3
      src/engine/wpak/PowersParser.java

15
src/engine/mbEnums.java

@ -1013,20 +1013,7 @@ public class mbEnums { @@ -1013,20 +1013,7 @@ public class mbEnums {
TRANSFORM,
VAMPDRAIN,
WEAPON,
Wizardry,
//added for parser failings
HealthRecoverRate,
ManaRecoverRate,
StaminaRecoverRate,
MeleeDamageModifier,
PowerDamageModifier,
Attr,
Resistance,
Health,
Mana,
Stamina,
Skill,
Spell;
Wizardry;
public static SourceType GetSourceType(String modName) {
try {

3
src/engine/wpak/PowersParser.java

@ -299,8 +299,9 @@ public class PowersParser { @@ -299,8 +299,9 @@ public class PowersParser {
Logger.error("Unhandled variable type:" + key + " for power: " + powerEntry.power_id);
}
}catch(Exception e){
Logger.info(loggerString + " ERROR: " + e);
Logger.error(loggerString + " ERROR: " + e);
}
Logger.error("POWER PARSE COMPLETED");
}
// Parse power conditions

Loading…
Cancel
Save