mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-16 12:29:26 +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[] {
|
calculateBaseStats(): number[] {
|
||||||
const baseStats = this.getSpeciesForm(true).baseStats.slice(0);
|
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
|
// Shuckle Juice
|
||||||
globalScene.applyModifiers(PokemonBaseStatTotalModifier, this.isPlayer(), this, baseStats);
|
globalScene.applyModifiers(PokemonBaseStatTotalModifier, this.isPlayer(), this, baseStats);
|
||||||
// Old Gateau
|
// Old Gateau
|
||||||
|
Loading…
Reference in New Issue
Block a user