diff --git a/src/engine/powers/ActionsBase.java b/src/engine/powers/ActionsBase.java index 2b8b308a..bf7e8e80 100644 --- a/src/engine/powers/ActionsBase.java +++ b/src/engine/powers/ActionsBase.java @@ -9,6 +9,7 @@ package engine.powers; +import engine.Enum; import engine.Enum.ModType; import engine.Enum.SourceType; import engine.Enum.StackType; @@ -252,6 +253,14 @@ public class ActionsBase { } if(sourceType != null && (bonus.getBool(ModType.ImmuneTo,sourceType) || bonus.getBool(ModType.NoMod,sourceType))) return true; + if(ac.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)){ + PlayerCharacter pc = (PlayerCharacter)ac; + if(this.stackType.equals("Blindness") && pc.getRace().getName().contains("Shade")) + return true; + if(this.stackType.equals("Stun") && pc.getRace().getName().contains("Minotaur")) + return true; + } + if(pb.vampDrain() && bonus.getBool(ModType.BlockedPowerType, SourceType.VAMPDRAIN)) return true;