diff --git a/src/data/move.ts b/src/data/move.ts index 65a8e487b9a..c6c2df1db75 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -1321,7 +1321,7 @@ export class BypassBurnDamageReductionAttr extends MoveAttr { apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean { (args[0] as Utils.BooleanHolder).value = true; - return true + return true; } } diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index d108f64417b..b19f2c45051 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1405,7 +1405,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { damage.value = Math.ceil(((((2 * source.level / 5 + 2) * power.value * sourceAtk.value / targetDef.value) / 50) + 2) * stabMultiplier.value * typeMultiplier.value * arenaAttackTypeMultiplier.value * screenMultiplier.value * ((this.scene.randBattleSeedInt(15) + 85) / 100) * criticalMultiplier.value); if (isPhysical && source.status && source.status.effect === StatusEffect.BURN) { const burnDamageReductionCancelled = new Utils.BooleanHolder(false); - applyMoveAttrs(BypassBurnDamageReductionAttr, source, this, move, burnDamageReductionCancelled) + applyMoveAttrs(BypassBurnDamageReductionAttr, source, this, move, burnDamageReductionCancelled); if(!burnDamageReductionCancelled.value){ applyAbAttrs(BypassBurnDamageReductionAbAttr, source, burnDamageReductionCancelled);