forked from MagicBane/Server
changed heal receptivity for vamps and elves
This commit is contained in:
@@ -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