From de7afd026caeb7857526239b02291c1025d922f2 Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Mon, 29 Jul 2024 14:18:53 -0700 Subject: [PATCH] [Misc] Remove redundant `ChargingTag` (#3156) --- src/data/battler-tags.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/data/battler-tags.ts b/src/data/battler-tags.ts index 6c19be27fae..ce70240df8c 100644 --- a/src/data/battler-tags.ts +++ b/src/data/battler-tags.ts @@ -497,12 +497,6 @@ export class FrenzyTag extends BattlerTag { } } -export class ChargingTag extends BattlerTag { - constructor(sourceMove: Moves, sourceId: number) { - super(BattlerTagType.CHARGING, BattlerTagLapseType.CUSTOM, 1, sourceMove, sourceId); - } -} - export class EncoreTag extends BattlerTag { public moveId: Moves; @@ -1672,7 +1666,7 @@ export function getBattlerTag(tagType: BattlerTagType, turnCount: number, source case BattlerTagType.FRENZY: return new FrenzyTag(turnCount, sourceMove, sourceId); case BattlerTagType.CHARGING: - return new ChargingTag(sourceMove, sourceId); + return new BattlerTag(tagType, BattlerTagLapseType.CUSTOM, 1, sourceMove, sourceId); case BattlerTagType.ENCORE: return new EncoreTag(sourceId); case BattlerTagType.HELPING_HAND: