diff --git a/src/data/battler-tags.ts b/src/data/battler-tags.ts index 97c42fed514..6c19be27fae 100644 --- a/src/data/battler-tags.ts +++ b/src/data/battler-tags.ts @@ -1413,30 +1413,6 @@ export class CritBoostTag extends BattlerTag { } } -export class AlwaysCritTag extends BattlerTag { - constructor(sourceMove: Moves) { - super(BattlerTagType.ALWAYS_CRIT, BattlerTagLapseType.TURN_END, 2, sourceMove); - } -} - -export class IgnoreAccuracyTag extends BattlerTag { - constructor(sourceMove: Moves) { - super(BattlerTagType.IGNORE_ACCURACY, BattlerTagLapseType.TURN_END, 2, sourceMove); - } -} - -export class AlwaysGetHitTag extends BattlerTag { - constructor(sourceMove: Moves) { - super(BattlerTagType.ALWAYS_GET_HIT, BattlerTagLapseType.PRE_MOVE, 1, sourceMove); - } -} - -export class ReceiveDoubleDamageTag extends BattlerTag { - constructor(sourceMove: Moves) { - super(BattlerTagType.RECEIVE_DOUBLE_DAMAGE, BattlerTagLapseType.PRE_MOVE, 1, sourceMove); - } -} - export class SaltCuredTag extends BattlerTag { private sourceIndex: number; @@ -1769,15 +1745,13 @@ export function getBattlerTag(tagType: BattlerTagType, turnCount: number, source case BattlerTagType.CRIT_BOOST: return new CritBoostTag(tagType, sourceMove); case BattlerTagType.ALWAYS_CRIT: - return new AlwaysCritTag(sourceMove); + case BattlerTagType.IGNORE_ACCURACY: + return new BattlerTag(tagType, BattlerTagLapseType.TURN_END, 2, sourceMove); case BattlerTagType.NO_CRIT: return new BattlerTag(tagType, BattlerTagLapseType.AFTER_MOVE, turnCount, sourceMove); - case BattlerTagType.IGNORE_ACCURACY: - return new IgnoreAccuracyTag(sourceMove); case BattlerTagType.ALWAYS_GET_HIT: - return new AlwaysGetHitTag(sourceMove); case BattlerTagType.RECEIVE_DOUBLE_DAMAGE: - return new ReceiveDoubleDamageTag(sourceMove); + return new BattlerTag(tagType, BattlerTagLapseType.PRE_MOVE, 1, sourceMove); case BattlerTagType.BYPASS_SLEEP: return new BattlerTag(BattlerTagType.BYPASS_SLEEP, BattlerTagLapseType.TURN_END, turnCount, sourceMove); case BattlerTagType.IGNORE_FLYING: