|
|
|
@ -251,14 +251,14 @@ public class ActionsBase {
@@ -251,14 +251,14 @@ public class ActionsBase {
|
|
|
|
|
if(vampDrain) |
|
|
|
|
return bonus.getBool(ModType.BlockedPowerType, SourceType.VAMPDRAIN); |
|
|
|
|
|
|
|
|
|
if (this.stackType.equals("Flight") && bonus.getBool(ModType.NoMod, SourceType.Fly)) { |
|
|
|
|
if ((this.stackType.equals("Flight") && bonus.getBool(ModType.NoMod, SourceType.Fly)) || |
|
|
|
|
(this.stackType.equals("Track") && bonus.getBool(ModType.CannotTrack, SourceType.None))) { |
|
|
|
|
return true; |
|
|
|
|
}else if (this.stackType.equals("Track") && bonus.getBool(ModType.CannotTrack, SourceType.None)) { |
|
|
|
|
return true; |
|
|
|
|
}else { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
mbEnums.DamageType damageType = mbEnums.DamageType.getDamageType(this.stackType.toUpperCase()); |
|
|
|
|
return pcTarget.getResists().immuneTo(damageType); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|