mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-14 19:39:29 +02:00
Fix FlipStat applyChallenges inside calculateBaseStats
This commit is contained in:
parent
02725694e9
commit
ea6d53605d
@ -1057,7 +1057,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
|
||||
calculateBaseStats(): number[] {
|
||||
const baseStats = this.getSpeciesForm(true).baseStats.slice(0);
|
||||
applyChallenges(this.scene.gameMode, ChallengeType.FLIP_STAT, this, baseStats);
|
||||
applyChallenges(globalScene.gameMode, ChallengeType.FLIP_STAT, this, baseStats);
|
||||
// Shuckle Juice
|
||||
globalScene.applyModifiers(PokemonBaseStatTotalModifier, this.isPlayer(), this, baseStats);
|
||||
// Old Gateau
|
||||
|
Loading…
Reference in New Issue
Block a user