diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 908a8464d84..8436231dddf 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1146,7 +1146,9 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { let multiplier = types.map(defType => { if (source) { const ignoreImmunity = new Utils.BooleanHolder(false); - applyAbAttrs(IgnoreTypeImmunityAbAttr, source, ignoreImmunity, moveType, defType); + if (source.isActive(true) && source.hasAbilityWithAttr(IgnoreTypeImmunityAbAttr)) { + applyAbAttrs(IgnoreTypeImmunityAbAttr, source, ignoreImmunity, moveType, defType); + } if (ignoreImmunity.value) { return 1; }