|
|
@ -349,13 +349,13 @@ public class Resists { |
|
|
|
if (rb.getBool(ModType.ImmuneTo, SourceType.Stun)) |
|
|
|
if (rb.getBool(ModType.ImmuneTo, SourceType.Stun)) |
|
|
|
this.immuneTo.put(mbEnums.DamageType.STUN, true); |
|
|
|
this.immuneTo.put(mbEnums.DamageType.STUN, true); |
|
|
|
if (rb.getBool(ModType.ImmuneTo, SourceType.Blind)) |
|
|
|
if (rb.getBool(ModType.ImmuneTo, SourceType.Blind)) |
|
|
|
this.immuneTo.put(mbEnums.DamageType.BLIND, true); |
|
|
|
this.immuneTo.put(mbEnums.DamageType.BLINDNESS, true); |
|
|
|
if (rb.getBool(ModType.ImmuneToAttack, SourceType.None)) |
|
|
|
if (rb.getBool(ModType.ImmuneToAttack, SourceType.None)) |
|
|
|
this.immuneTo.put(mbEnums.DamageType.ATTACK, true); |
|
|
|
this.immuneTo.put(mbEnums.DamageType.ATTACK, true); |
|
|
|
if (rb.getBool(ModType.ImmuneToPowers, SourceType.None)) |
|
|
|
if (rb.getBool(ModType.ImmuneToPowers, SourceType.None)) |
|
|
|
this.immuneTo.put(mbEnums.DamageType.POWERS, true); |
|
|
|
this.immuneTo.put(mbEnums.DamageType.POWERS, true); |
|
|
|
if (rb.getBool(ModType.ImmuneTo, SourceType.Powerblock)) |
|
|
|
if (rb.getBool(ModType.ImmuneTo, SourceType.Powerblock)) |
|
|
|
this.immuneTo.put(mbEnums.DamageType.POWERBLOCK, true); |
|
|
|
this.immuneTo.put(mbEnums.DamageType.POWERINHIBITOR, true); |
|
|
|
if (rb.getBool(ModType.ImmuneTo, SourceType.DeBuff)) |
|
|
|
if (rb.getBool(ModType.ImmuneTo, SourceType.DeBuff)) |
|
|
|
this.immuneTo.put(mbEnums.DamageType.DEBUFF, true); |
|
|
|
this.immuneTo.put(mbEnums.DamageType.DEBUFF, true); |
|
|
|
if (rb.getBool(ModType.ImmuneTo, SourceType.Fear)) |
|
|
|
if (rb.getBool(ModType.ImmuneTo, SourceType.Fear)) |
|
|
|