From 1be11d2b3a10962d05bc45b32a9345a303a50a49 Mon Sep 17 00:00:00 2001 From: schmidtc1 <62030095+schmidtc1@users.noreply.github.com> Date: Sun, 14 Jul 2024 00:26:13 -0400 Subject: [PATCH] [Bug] Fix Lock-On and Mind Reader not working on the first turn (#3001) --- src/phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index ef24fca9b39..27967dcc2b8 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -3058,7 +3058,7 @@ export class MoveEffectPhase extends PokemonPhase { } // If the user should ignore accuracy on a target, check who the user targeted last turn and see if they match - if (user.getTag(BattlerTagType.IGNORE_ACCURACY) && (user.getLastXMoves().slice(1).find(() => true)?.targets || []).indexOf(target.getBattlerIndex()) !== -1) { + if (user.getTag(BattlerTagType.IGNORE_ACCURACY) && (user.getLastXMoves().find(() => true)?.targets || []).indexOf(target.getBattlerIndex()) !== -1) { return true; }