mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 10:42:25 +02:00
Update phaseInterceptor.ts
This commit is contained in:
parent
f77a36ce3d
commit
f08bf50e33
@ -52,6 +52,9 @@ import {
|
|||||||
} from "#app/phases/mystery-encounter-phases";
|
} from "#app/phases/mystery-encounter-phases";
|
||||||
import { ModifierRewardPhase } from "#app/phases/modifier-reward-phase";
|
import { ModifierRewardPhase } from "#app/phases/modifier-reward-phase";
|
||||||
import { PartyExpPhase } from "#app/phases/party-exp-phase";
|
import { PartyExpPhase } from "#app/phases/party-exp-phase";
|
||||||
|
import { ExpPhase } from "#app/phases/exp-phase";
|
||||||
|
import { SelectBiomePhase } from "#app/phases/select-biome-phase";
|
||||||
|
|
||||||
|
|
||||||
export interface PromptHandler {
|
export interface PromptHandler {
|
||||||
phaseTarget?: string;
|
phaseTarget?: string;
|
||||||
@ -60,7 +63,6 @@ export interface PromptHandler {
|
|||||||
expireFn?: () => void;
|
expireFn?: () => void;
|
||||||
awaitingActionInput?: boolean;
|
awaitingActionInput?: boolean;
|
||||||
}
|
}
|
||||||
import { ExpPhase } from "#app/phases/exp-phase";
|
|
||||||
|
|
||||||
export default class PhaseInterceptor {
|
export default class PhaseInterceptor {
|
||||||
public scene;
|
public scene;
|
||||||
@ -130,6 +132,7 @@ export default class PhaseInterceptor {
|
|||||||
[ModifierRewardPhase, this.startPhase],
|
[ModifierRewardPhase, this.startPhase],
|
||||||
[PartyExpPhase, this.startPhase],
|
[PartyExpPhase, this.startPhase],
|
||||||
[ExpPhase, this.startPhase],
|
[ExpPhase, this.startPhase],
|
||||||
|
[SelectBiomePhase, this.startPhase],
|
||||||
];
|
];
|
||||||
|
|
||||||
private endBySetMode = [
|
private endBySetMode = [
|
||||||
|
Loading…
Reference in New Issue
Block a user