Browse Source

changed heal receptivity for vamps and elves

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
52c3f563a2
  1. 8
      src/engine/objects/Resists.java

8
src/engine/objects/Resists.java

@ -465,6 +465,7 @@ public class Resists {
cold += rb.getFloat(ModType.Resistance, SourceType.Cold); cold += rb.getFloat(ModType.Resistance, SourceType.Cold);
healing += rb.getFloat(ModType.Resistance, SourceType.Healing); // DamageType.Healing.name()); healing += rb.getFloat(ModType.Resistance, SourceType.Healing); // DamageType.Healing.name());
//HHO //HHO
// String protectionString = rb.getString("protection"); // String protectionString = rb.getString("protection");
@ -498,6 +499,13 @@ public class Resists {
pierce += phys[2]; 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); this.resists.put(DamageType.Slash, slash);

Loading…
Cancel
Save