Disc Droppers get 75% resist all

This commit is contained in:
2024-05-01 18:55:16 -05:00
parent c43c3de18a
commit 7eb9eca7d0
2 changed files with 34 additions and 3 deletions
+20
View File
@@ -46,12 +46,32 @@ public class Resists {
case "Mine":
setMineResists();
break;
case "Dropper":
setDropperResists();
default:
setGenericResists();
break;
}
}
private void setDropperResists() {
this.immuneToAll = false;
this.resists.put(DamageType.Slash, 75f);
this.resists.put(DamageType.Crush, 75f);
this.resists.put(DamageType.Pierce, 75f);
this.resists.put(DamageType.Magic, 75f);
this.resists.put(DamageType.Bleed, 75f);
this.resists.put(DamageType.Poison, 75f);
this.resists.put(DamageType.Mental, 75f);
this.resists.put(DamageType.Holy, 75f);
this.resists.put(DamageType.Unholy, 75f);
this.resists.put(DamageType.Lightning, 75f);
this.resists.put(DamageType.Fire, 75f);
this.resists.put(DamageType.Cold, 75f);
this.resists.put(DamageType.Healing, 75f);
this.immuneTo.put(DamageType.Siege, true);
}
public Resists(Resists r) {
for (DamageType dt : r.resists.keySet())
this.resists.put(dt, r.resists.get(dt));