From 54ee2f3f10be3bb3ca13b33ef275e720aa2040ed Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Tue, 30 Jul 2024 21:09:50 -0700 Subject: [PATCH] [Refactor] Remove single-use `EndureAttr` (#3260) --- src/data/move.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/data/move.ts b/src/data/move.ts index 3754b0acd3b..5ccafa5017f 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -4427,12 +4427,6 @@ export class ProtectAttr extends AddBattlerTagAttr { } } -export class EndureAttr extends ProtectAttr { - constructor() { - super(BattlerTagType.ENDURING); - } -} - export class IgnoreAccuracyAttr extends AddBattlerTagAttr { constructor() { super(BattlerTagType.IGNORE_ACCURACY, true, false, 2); @@ -6549,7 +6543,7 @@ export function initMoves() { .attr(HitHealAttr) .triageMove(), new SelfStatusMove(Moves.ENDURE, Type.NORMAL, -1, 10, -1, 4, 2) - .attr(EndureAttr), + .attr(ProtectAttr, BattlerTagType.ENDURING), new StatusMove(Moves.CHARM, Type.FAIRY, 100, 20, -1, 0, 2) .attr(StatChangeAttr, BattleStat.ATK, -2), new AttackMove(Moves.ROLLOUT, Type.ROCK, MoveCategory.PHYSICAL, 30, 90, 20, -1, 0, 2)