|
|
@ -85,7 +85,7 @@ public class Resists { |
|
|
|
this.immuneToAll = false; |
|
|
|
this.immuneToAll = false; |
|
|
|
this.resists.put(Enum.DamageType.SLASHING, rs.getFloat("slash")); |
|
|
|
this.resists.put(Enum.DamageType.SLASHING, rs.getFloat("slash")); |
|
|
|
this.resists.put(Enum.DamageType.CRUSHING, rs.getFloat("crush")); |
|
|
|
this.resists.put(Enum.DamageType.CRUSHING, rs.getFloat("crush")); |
|
|
|
this.resists.put(Enum.DamageType.PIERCE, rs.getFloat("pierce")); |
|
|
|
this.resists.put(Enum.DamageType.PIERCING, rs.getFloat("pierce")); |
|
|
|
this.resists.put(Enum.DamageType.MAGIC, rs.getFloat("magic")); |
|
|
|
this.resists.put(Enum.DamageType.MAGIC, rs.getFloat("magic")); |
|
|
|
this.resists.put(Enum.DamageType.BLEEDING, rs.getFloat("bleed")); |
|
|
|
this.resists.put(Enum.DamageType.BLEEDING, rs.getFloat("bleed")); |
|
|
|
this.resists.put(Enum.DamageType.POISON, rs.getFloat("poison")); |
|
|
|
this.resists.put(Enum.DamageType.POISON, rs.getFloat("poison")); |
|
|
@ -198,7 +198,7 @@ public class Resists { |
|
|
|
this.resists.put(Enum.DamageType.SLASHING, 85f); |
|
|
|
this.resists.put(Enum.DamageType.SLASHING, 85f); |
|
|
|
this.resists.put(Enum.DamageType.CRUSHING, 85f); |
|
|
|
this.resists.put(Enum.DamageType.CRUSHING, 85f); |
|
|
|
this.resists.put(Enum.DamageType.SIEGE, 0f); |
|
|
|
this.resists.put(Enum.DamageType.SIEGE, 0f); |
|
|
|
this.immuneTo.put(Enum.DamageType.PIERCE, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.PIERCING, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.MAGIC, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.MAGIC, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.BLEEDING, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.BLEEDING, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.POISON, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.POISON, true); |
|
|
@ -218,7 +218,7 @@ public class Resists { |
|
|
|
this.immuneToAll = false; |
|
|
|
this.immuneToAll = false; |
|
|
|
this.immuneTo.put(Enum.DamageType.SLASHING, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.SLASHING, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.CRUSHING, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.CRUSHING, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.PIERCE, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.PIERCING, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.MAGIC, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.MAGIC, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.BLEEDING, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.BLEEDING, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.POISON, true); |
|
|
|
this.immuneTo.put(Enum.DamageType.POISON, true); |
|
|
@ -238,7 +238,7 @@ public class Resists { |
|
|
|
this.immuneToAll = false; |
|
|
|
this.immuneToAll = false; |
|
|
|
this.resists.put(Enum.DamageType.SLASHING, 0f); |
|
|
|
this.resists.put(Enum.DamageType.SLASHING, 0f); |
|
|
|
this.resists.put(Enum.DamageType.CRUSHING, 0f); |
|
|
|
this.resists.put(Enum.DamageType.CRUSHING, 0f); |
|
|
|
this.resists.put(Enum.DamageType.PIERCE, 0f); |
|
|
|
this.resists.put(Enum.DamageType.PIERCING, 0f); |
|
|
|
this.resists.put(Enum.DamageType.MAGIC, 0f); |
|
|
|
this.resists.put(Enum.DamageType.MAGIC, 0f); |
|
|
|
this.resists.put(Enum.DamageType.BLEEDING, 0f); |
|
|
|
this.resists.put(Enum.DamageType.BLEEDING, 0f); |
|
|
|
this.resists.put(Enum.DamageType.POISON, 0f); |
|
|
|
this.resists.put(Enum.DamageType.POISON, 0f); |
|
|
@ -406,7 +406,7 @@ public class Resists { |
|
|
|
|
|
|
|
|
|
|
|
this.resists.put(Enum.DamageType.SLASHING, slash); |
|
|
|
this.resists.put(Enum.DamageType.SLASHING, slash); |
|
|
|
this.resists.put(Enum.DamageType.CRUSHING, crush); |
|
|
|
this.resists.put(Enum.DamageType.CRUSHING, crush); |
|
|
|
this.resists.put(Enum.DamageType.PIERCE, pierce); |
|
|
|
this.resists.put(Enum.DamageType.PIERCING, pierce); |
|
|
|
this.resists.put(Enum.DamageType.MAGIC, magic); |
|
|
|
this.resists.put(Enum.DamageType.MAGIC, magic); |
|
|
|
this.resists.put(Enum.DamageType.BLEEDING, bleed); |
|
|
|
this.resists.put(Enum.DamageType.BLEEDING, bleed); |
|
|
|
this.resists.put(Enum.DamageType.POISON, poison); |
|
|
|
this.resists.put(Enum.DamageType.POISON, poison); |
|
|
|