From bdf222d0eaebdff56d48ad697758b52ee96be78f Mon Sep 17 00:00:00 2001 From: Luc Date: Fri, 19 Apr 2024 03:13:09 -0400 Subject: [PATCH] fixed on missed moves --- src/data/move.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/move.ts b/src/data/move.ts index 8746dbe6722..cae2e764bfe 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -5433,7 +5433,7 @@ export function initMoves() { .bitingMove() .attr(RemoveScreensAttr), new AttackMove(Moves.STOMPING_TANTRUM, Type.GROUND, MoveCategory.PHYSICAL, 75, 100, 10, -1, 0, 7) - .attr(MovePowerMultiplierAttr, (user, target, move) => user.getLastXMoves(2)[1]?.result === (MoveResult.FAIL || MoveResult.MISS) ? 2 : 1), + .attr(MovePowerMultiplierAttr, (user, target, move) => user.getLastXMoves(2)[1]?.result == MoveResult.MISS || user.getLastXMoves(2)[1]?.result == MoveResult.FAIL ? 2 : 1), new AttackMove(Moves.SHADOW_BONE, Type.GHOST, MoveCategory.PHYSICAL, 85, 100, 10, 20, 0, 7) .attr(StatChangeAttr, BattleStat.DEF, -1) .makesContact(false),