revert sourcetype lookup fix

This commit is contained in:
2024-06-15 14:23:25 -05:00
parent 4f198e1f53
commit f9fd61dc6b
2 changed files with 9 additions and 9 deletions
+6 -6
View File
@@ -830,7 +830,7 @@ public class Enum {
Constitution,
Corruption,
Crossbow,
Crushing,
Crush,
Dagger,
DaggerMastery,
DeBuff,
@@ -868,7 +868,7 @@ public class Enum {
NatureLore,
Necromancy,
Parry,
Piercing,
Pierce,
Poison,
POISON,
PoleArm,
@@ -879,7 +879,7 @@ public class Enum {
Root,
Shadowmastery,
Siege,
Slashing,
Slash,
Snare,
Sorcery,
Spear,
@@ -986,7 +986,7 @@ public class Enum {
Cold,
Combat,
ConstitutionBuff,
Crushing,
Crush,
DamageShield,
DeathShroud,
DeBuff,
@@ -1007,7 +1007,7 @@ public class Enum {
Mental,
Multielement,
PetBuff,
Piercing,
Pierce,
Poison,
Powerblock,
RecoveryManaBuff,
@@ -1017,7 +1017,7 @@ public class Enum {
SiegeBuff,
SiegeDamage,
Silence,
Slashing,
Slash,
Snare,
Stance,
Stun,
+3 -3
View File
@@ -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);