From b3f9011c0109913f90ef9a5e08ea4081aabf0788 Mon Sep 17 00:00:00 2001 From: Matthew Ross Date: Fri, 10 May 2024 20:17:53 -0700 Subject: [PATCH] Add missing semicolon --- src/data/move.ts | 2 +- src/field/pokemon.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);