Hamlet Guards Immune To All
This commit is contained in:
@@ -48,6 +48,8 @@ public class Resists {
|
||||
break;
|
||||
case "Dropper":
|
||||
setDropperResists();
|
||||
case "HamletGuard":
|
||||
setHamletGuardResists();
|
||||
default:
|
||||
setGenericResists();
|
||||
break;
|
||||
@@ -251,6 +253,26 @@ public class Resists {
|
||||
this.resists.put(DamageType.Siege, 0f);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create generic resists for mines
|
||||
*/
|
||||
public final void setHamletGuardResists() {
|
||||
this.immuneToAll = true;
|
||||
this.immuneTo.put(DamageType.Slash, true);
|
||||
this.immuneTo.put(DamageType.Crush, true);
|
||||
this.immuneTo.put(DamageType.Pierce, true);
|
||||
this.immuneTo.put(DamageType.Magic, true);
|
||||
this.immuneTo.put(DamageType.Bleed, true);
|
||||
this.immuneTo.put(DamageType.Poison, true);
|
||||
this.immuneTo.put(DamageType.Mental, true);
|
||||
this.immuneTo.put(DamageType.Holy, true);
|
||||
this.immuneTo.put(DamageType.Unholy, true);
|
||||
this.immuneTo.put(DamageType.Lightning, true);
|
||||
this.immuneTo.put(DamageType.Fire, true);
|
||||
this.immuneTo.put(DamageType.Cold, true);
|
||||
this.immuneTo.put(DamageType.Siege, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create generic resists
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user