[Misc] Remove redundant `ChargingTag` (#3156)
This commit is contained in:
parent
4b0157d5d7
commit
de7afd026c
|
@ -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 {
|
export class EncoreTag extends BattlerTag {
|
||||||
public moveId: Moves;
|
public moveId: Moves;
|
||||||
|
|
||||||
|
@ -1672,7 +1666,7 @@ export function getBattlerTag(tagType: BattlerTagType, turnCount: number, source
|
||||||
case BattlerTagType.FRENZY:
|
case BattlerTagType.FRENZY:
|
||||||
return new FrenzyTag(turnCount, sourceMove, sourceId);
|
return new FrenzyTag(turnCount, sourceMove, sourceId);
|
||||||
case BattlerTagType.CHARGING:
|
case BattlerTagType.CHARGING:
|
||||||
return new ChargingTag(sourceMove, sourceId);
|
return new BattlerTag(tagType, BattlerTagLapseType.CUSTOM, 1, sourceMove, sourceId);
|
||||||
case BattlerTagType.ENCORE:
|
case BattlerTagType.ENCORE:
|
||||||
return new EncoreTag(sourceId);
|
return new EncoreTag(sourceId);
|
||||||
case BattlerTagType.HELPING_HAND:
|
case BattlerTagType.HELPING_HAND:
|
||||||
|
|
Loading…
Reference in New Issue