Browse Source

revert sourcetype lookup fix

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

6
src/engine/objects/Resists.java

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

Loading…
Cancel
Save