Browse Source

revert sourcetype lookup fix

lakebane-new
FatBoy-DOTC 5 months ago
parent
commit
f9fd61dc6b
  1. 12
      src/engine/Enum.java
  2. 6
      src/engine/objects/Resists.java

12
src/engine/Enum.java

@ -830,7 +830,7 @@ public class Enum {
Constitution, Constitution,
Corruption, Corruption,
Crossbow, Crossbow,
Crushing, Crush,
Dagger, Dagger,
DaggerMastery, DaggerMastery,
DeBuff, DeBuff,
@ -868,7 +868,7 @@ public class Enum {
NatureLore, NatureLore,
Necromancy, Necromancy,
Parry, Parry,
Piercing, Pierce,
Poison, Poison,
POISON, POISON,
PoleArm, PoleArm,
@ -879,7 +879,7 @@ public class Enum {
Root, Root,
Shadowmastery, Shadowmastery,
Siege, Siege,
Slashing, Slash,
Snare, Snare,
Sorcery, Sorcery,
Spear, Spear,
@ -986,7 +986,7 @@ public class Enum {
Cold, Cold,
Combat, Combat,
ConstitutionBuff, ConstitutionBuff,
Crushing, Crush,
DamageShield, DamageShield,
DeathShroud, DeathShroud,
DeBuff, DeBuff,
@ -1007,7 +1007,7 @@ public class Enum {
Mental, Mental,
Multielement, Multielement,
PetBuff, PetBuff,
Piercing, Pierce,
Poison, Poison,
Powerblock, Powerblock,
RecoveryManaBuff, RecoveryManaBuff,
@ -1017,7 +1017,7 @@ public class Enum {
SiegeBuff, SiegeBuff,
SiegeDamage, SiegeDamage,
Silence, Silence,
Slashing, Slash,
Snare, Snare,
Stance, Stance,
Stun, Stun,

6
src/engine/objects/Resists.java

@ -451,9 +451,9 @@ public class Resists {
this.immuneTo.put(DamageType.Snare, true); this.immuneTo.put(DamageType.Snare, true);
// Handle resists // Handle resists
slash += rb.getFloat(ModType.Resistance, SourceType.Slashing); slash += rb.getFloat(ModType.Resistance, SourceType.Slash);
crush += rb.getFloat(ModType.Resistance, SourceType.Crushing); crush += rb.getFloat(ModType.Resistance, SourceType.Crush);
pierce += rb.getFloat(ModType.Resistance, SourceType.Piercing); pierce += rb.getFloat(ModType.Resistance, SourceType.Pierce);
magic += rb.getFloat(ModType.Resistance, SourceType.Magic); magic += rb.getFloat(ModType.Resistance, SourceType.Magic);
bleed += rb.getFloat(ModType.Resistance, SourceType.Bleed); bleed += rb.getFloat(ModType.Resistance, SourceType.Bleed);
poison += rb.getFloat(ModType.Resistance, SourceType.Poison); poison += rb.getFloat(ModType.Resistance, SourceType.Poison);

Loading…
Cancel
Save