From 66b5cd728368d3080694eceab583a5f85f668d35 Mon Sep 17 00:00:00 2001 From: Jannik Tappert Date: Fri, 10 May 2024 18:50:07 +0200 Subject: [PATCH] Issue #523 - Well the condition was wrong. Of course it should go into the if condition IF the move is NOT facade (i missunderstood) --- 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 13638fbcf64..485137813cf 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1394,7 +1394,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { if (isPhysical && source.status && source.status.effect === StatusEffect.BURN) { const burnDamageReductionCancelled = new Utils.BooleanHolder(false); applyAbAttrs(BypassBurnDamageReductionAbAttr, source, burnDamageReductionCancelled); - if (!burnDamageReductionCancelled.value && !(battlerMove.getMove().id !== Moves.FACADE)) + if (!burnDamageReductionCancelled.value && battlerMove.getMove().id !== Moves.FACADE) damage.value = Math.floor(damage.value / 2); } move.getAttrs(HitsTagAttr).map(hta => hta as HitsTagAttr).filter(hta => hta.doubleDamage).forEach(hta => {