Source types updated to match damage type
This commit is contained in:
@@ -786,7 +786,7 @@ public class Enum {
|
||||
Beastcraft,
|
||||
Benediction,
|
||||
BladeWeaving,
|
||||
Bleed,
|
||||
Bleeding,
|
||||
Blind,
|
||||
Block,
|
||||
Bloodcraft,
|
||||
@@ -799,7 +799,7 @@ public class Enum {
|
||||
Constitution,
|
||||
Corruption,
|
||||
Crossbow,
|
||||
Crush,
|
||||
Crushing,
|
||||
Dagger,
|
||||
DaggerMastery,
|
||||
DeBuff,
|
||||
@@ -837,7 +837,7 @@ public class Enum {
|
||||
NatureLore,
|
||||
Necromancy,
|
||||
Parry,
|
||||
Pierce,
|
||||
Piercing,
|
||||
Poison,
|
||||
POISON,
|
||||
PoleArm,
|
||||
@@ -848,7 +848,7 @@ public class Enum {
|
||||
Root,
|
||||
Shadowmastery,
|
||||
Siege,
|
||||
Slash,
|
||||
Slashing,
|
||||
Snare,
|
||||
Sorcery,
|
||||
Spear,
|
||||
|
||||
@@ -368,11 +368,11 @@ public class Resists {
|
||||
this.immuneTo.put(Enum.DamageType.SNARE, true);
|
||||
|
||||
// Handle resists
|
||||
slash += rb.getFloat(ModType.Resistance, SourceType.Slash);
|
||||
crush += rb.getFloat(ModType.Resistance, SourceType.Crush);
|
||||
pierce += rb.getFloat(ModType.Resistance, SourceType.Pierce);
|
||||
slash += rb.getFloat(ModType.Resistance, SourceType.Slashing);
|
||||
crush += rb.getFloat(ModType.Resistance, SourceType.Crushing);
|
||||
pierce += rb.getFloat(ModType.Resistance, SourceType.Piercing);
|
||||
magic += rb.getFloat(ModType.Resistance, SourceType.Magic);
|
||||
bleed += rb.getFloat(ModType.Resistance, SourceType.Bleed);
|
||||
bleed += rb.getFloat(ModType.Resistance, SourceType.Bleeding);
|
||||
poison += rb.getFloat(ModType.Resistance, SourceType.Poison);
|
||||
mental += rb.getFloat(ModType.Resistance, SourceType.Mental);
|
||||
holy += rb.getFloat(ModType.Resistance, SourceType.Holy);
|
||||
|
||||
Reference in New Issue
Block a user