From f1d869beea00dd92cc980cf7b764b2380f844ea4 Mon Sep 17 00:00:00 2001 From: Jannik Tappert Date: Fri, 10 May 2024 18:47:45 +0200 Subject: [PATCH] Issue #523 Facade should now ignore the attack reduction of beeing burned --- 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 88329a2c219..13638fbcf64 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) + 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 => {