Skip to content

Commit

Permalink
Merged from official repos
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeyTheA committed Sep 10, 2024
2 parents eff64f5 + bd4729b commit 0d21a33
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/modifier/modifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,10 @@ export abstract class LapsingPersistentModifier extends PersistentModifier {
return container;
}

getIconStackText(_scene: BattleScene, _virtual?: boolean): Phaser.GameObjects.BitmapText | null {
return null;
}

getBattleCount(): number {
return this.battleCount;
}
Expand All @@ -384,7 +388,8 @@ export abstract class LapsingPersistentModifier extends PersistentModifier {
}

getMaxStackCount(_scene: BattleScene, _forThreshold?: boolean): number {
return 1;
// Must be an abitrary number greater than 1
return 2;
}
}

Expand Down Expand Up @@ -787,7 +792,7 @@ export class TerastallizeModifier extends LapsingPokemonHeldItemModifier {
/**
* Modifier used for held items, specifically vitamins like Carbos, Hp Up, etc., that
* increase the value of a given {@linkcode PermanentStat}.
* @extends LapsingPersistentModifier
* @extends PokemonHeldItemModifier
* @see {@linkcode apply}
*/
export class BaseStatModifier extends PokemonHeldItemModifier {
Expand Down

0 comments on commit 0d21a33

Please sign in to comment.