mob resists

This commit is contained in:
2024-05-17 17:49:54 -05:00
parent 6ee1c02e08
commit 0581cab5cb
2 changed files with 7 additions and 19 deletions
+3 -13
View File
@@ -46,6 +46,9 @@ public class Resists {
case "Mine":
setMineResists();
break;
case "Dropper":
setDropperResists();
break;
default:
setGenericResists();
break;
@@ -67,19 +70,6 @@ public class Resists {
this.resists.put(DamageType.Fire, 75f);
this.resists.put(DamageType.Cold, 75f);
this.resists.put(DamageType.Healing, 75f);
this.immuneTo.put(DamageType.Slash, false);
this.immuneTo.put(DamageType.Crush, false);
this.immuneTo.put(DamageType.Pierce, false);
this.immuneTo.put(DamageType.Magic, false);
this.immuneTo.put(DamageType.Bleed, false);
this.immuneTo.put(DamageType.Poison, false);
this.immuneTo.put(DamageType.Mental, false);
this.immuneTo.put(DamageType.Holy, false);
this.immuneTo.put(DamageType.Unholy, false);
this.immuneTo.put(DamageType.Lightning, false);
this.immuneTo.put(DamageType.Fire, false);
this.immuneTo.put(DamageType.Cold, false);
this.immuneTo.put(DamageType.Siege, false);
}
public Resists(Resists r) {