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 {
TRANSFORM, TRANSFORM,
VAMPDRAIN, VAMPDRAIN,
WEAPON, WEAPON,
Wizardry, Wizardry;
//added for parser failings
HealthRecoverRate,
ManaRecoverRate,
StaminaRecoverRate,
MeleeDamageModifier,
PowerDamageModifier,
Attr,
Resistance,
Health,
Mana,
Stamina,
Skill,
Spell;
public static SourceType GetSourceType(String modName) { public static SourceType GetSourceType(String modName) {
try { try {

3
src/engine/wpak/PowersParser.java

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

Loading…
Cancel
Save