mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 06:52:16 +02:00
Updated run phase to extend field phase instead of pokemon phase
This commit is contained in:
parent
05ba390ede
commit
bd989b1fcc
@ -2,10 +2,10 @@ import { applyAbAttrs, applyPreLeaveFieldAbAttrs } from "#app/data/abilities/app
|
||||
import { StatusEffect } from "#enums/status-effect";
|
||||
import i18next from "i18next";
|
||||
import { NumberHolder, randSeedInt } from "#app/utils/common";
|
||||
import { PokemonPhase } from "./pokemon-phase";
|
||||
import { globalScene } from "#app/global-scene";
|
||||
import { calculateEscapeChance } from "#app/utils/run-utils";
|
||||
export class AttemptRunPhase extends PokemonPhase {
|
||||
import { FieldPhase } from "./field-phase";
|
||||
export class AttemptRunPhase extends FieldPhase {
|
||||
public readonly phaseName = "AttemptRunPhase";
|
||||
/** For testing purposes: this is to force the pokemon to fail and escape */
|
||||
public forceFailEscape = false;
|
||||
|
Loading…
Reference in New Issue
Block a user