mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-09 17:09:26 +02:00
[Misc] Set default for crit stage battler tag (#6192)
Set default for crit stage
This commit is contained in:
parent
e50ebaa815
commit
c6ca35c4ab
@ -2320,7 +2320,7 @@ export class TypeBoostTag extends SerializableBattlerTag {
|
|||||||
export class CritBoostTag extends SerializableBattlerTag {
|
export class CritBoostTag extends SerializableBattlerTag {
|
||||||
public declare readonly tagType: CritStageBoostTagType;
|
public declare readonly tagType: CritStageBoostTagType;
|
||||||
/** The number of stages boosted by this tag */
|
/** The number of stages boosted by this tag */
|
||||||
public readonly critStages: number;
|
public readonly critStages: number = 1;
|
||||||
|
|
||||||
constructor(tagType: CritStageBoostTagType, sourceMove: MoveId) {
|
constructor(tagType: CritStageBoostTagType, sourceMove: MoveId) {
|
||||||
super(tagType, BattlerTagLapseType.TURN_END, 1, sourceMove, undefined, true);
|
super(tagType, BattlerTagLapseType.TURN_END, 1, sourceMove, undefined, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user