From c27db5603a8c7294cbe645d0ceaf00c69233dcd3 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 14 Dec 2023 09:16:41 -0500 Subject: [PATCH] Fix Stone Axe failing with max layers --- 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 7ec554b56..42ac85639 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -2478,7 +2478,7 @@ export class AddArenaTagAttr extends MoveEffectAttr { export class AddArenaTrapTagAttr extends AddArenaTagAttr { getCondition(): MoveCondition { return (user, target, move) => { - if (!user.scene.arena.getTag(this.tagType)) + if (move.category !== MoveCategory.STATUS || !user.scene.arena.getTag(this.tagType)) return true; const tag = user.scene.arena.getTag(this.tagType) as ArenaTrapTag; return tag.layers < tag.maxLayers;