Update phaseInterceptor.ts

This commit is contained in:
RedstonewolfX 2024-09-17 20:41:02 -04:00
parent f77a36ce3d
commit f08bf50e33

View File

@ -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 = [