changed heal receptivity for vamps and elves
This commit is contained in:
1 parent
5655aef57a
commit
52c3f563a2
1 file changed
+8
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user