mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-25 01:32:21 +02:00
Apply suggestions from code review
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
parent
cbe030875f
commit
3cbb8915f2
@ -165,9 +165,9 @@ export abstract class PersistentModifier extends Modifier {
|
||||
public stackCount: number;
|
||||
public virtualStackCount: number;
|
||||
|
||||
constructor(type: ModifierType, stackCount?: number) {
|
||||
constructor(type: ModifierType, stackCount: number = 1) {
|
||||
super(type);
|
||||
this.stackCount = stackCount ?? 1;
|
||||
this.stackCount = stackCount;
|
||||
this.virtualStackCount = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user