From d354f61b2084c4c708bff3352f25eaad16791bde Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Fri, 29 Nov 2024 14:18:06 -0800 Subject: [PATCH] Modify `if` check conditions --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index a1e0684779c..0f322968d2e 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -3006,7 +3006,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { * Run PostDamageAbAttr from any source of damage that is not from a multi-hit * Multi-hits are handled in move-effect-phase.ts for PostDamageAbAttr */ - if (source && source.turnData.hitCount <= 1) { + if (!source || source.turnData.hitCount <= 1) { applyPostDamageAbAttrs(PostDamageAbAttr, this, damage, this.hasPassive(), false, [], source); } return damage;