mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-04 17:08:34 +01:00
MysteriousChestEncounter: revert debugging change (whops)
This commit is contained in:
parent
78cbc22693
commit
ad259c9e8f
@ -5,6 +5,7 @@ import {
|
|||||||
} from "#app/data/mystery-encounters/utils/encounter-phase-utils";
|
} from "#app/data/mystery-encounters/utils/encounter-phase-utils";
|
||||||
import { getHighestLevelPlayerPokemon, koPlayerPokemon } from "#app/data/mystery-encounters/utils/encounter-pokemon-utils";
|
import { getHighestLevelPlayerPokemon, koPlayerPokemon } from "#app/data/mystery-encounters/utils/encounter-pokemon-utils";
|
||||||
import { ModifierTier } from "#app/modifier/modifier-tier";
|
import { ModifierTier } from "#app/modifier/modifier-tier";
|
||||||
|
import { randSeedInt } from "#app/utils.js";
|
||||||
import { MysteryEncounterType } from "#enums/mystery-encounter-type";
|
import { MysteryEncounterType } from "#enums/mystery-encounter-type";
|
||||||
import BattleScene from "../../../battle-scene";
|
import BattleScene from "../../../battle-scene";
|
||||||
import IMysteryEncounter, {
|
import IMysteryEncounter, {
|
||||||
@ -60,8 +61,7 @@ export const MysteriousChestEncounter: IMysteryEncounter =
|
|||||||
})
|
})
|
||||||
.withOptionPhase(async (scene: BattleScene) => {
|
.withOptionPhase(async (scene: BattleScene) => {
|
||||||
// Open the chest
|
// Open the chest
|
||||||
// const roll = randSeedInt(100);
|
const roll = randSeedInt(100);
|
||||||
const roll = 0;
|
|
||||||
if (roll > 60) {
|
if (roll > 60) {
|
||||||
// Choose between 2 COMMON / 2 GREAT tier items (40%)
|
// Choose between 2 COMMON / 2 GREAT tier items (40%)
|
||||||
setEncounterRewards(scene, {
|
setEncounterRewards(scene, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user