changed heal receptivity for vamps and elves

This commit is contained in:
2024-04-14 10:18:59 -05:00
parent 5655aef57a
commit 52c3f563a2
+8
View File
@@ -465,6 +465,7 @@ public class Resists {
cold += rb.getFloat(ModType.Resistance, SourceType.Cold);
healing += rb.getFloat(ModType.Resistance, SourceType.Healing); // DamageType.Healing.name());
//HHO
// String protectionString = rb.getString("protection");
@@ -498,6 +499,13 @@ public class Resists {
pierce += phys[2];
}
if(((PlayerCharacter)ac).getRace().getName().contains("Vampire")){
healing -= 20;
}
if(((PlayerCharacter)ac).getRace().getName().contains("Elf")){
healing -= 15;
}
}
this.resists.put(DamageType.Slash, slash);