mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 23:12:20 +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 { StatusEffect } from "#enums/status-effect";
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
import { NumberHolder, randSeedInt } from "#app/utils/common";
|
import { NumberHolder, randSeedInt } from "#app/utils/common";
|
||||||
import { PokemonPhase } from "./pokemon-phase";
|
|
||||||
import { globalScene } from "#app/global-scene";
|
import { globalScene } from "#app/global-scene";
|
||||||
import { calculateEscapeChance } from "#app/utils/run-utils";
|
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";
|
public readonly phaseName = "AttemptRunPhase";
|
||||||
/** For testing purposes: this is to force the pokemon to fail and escape */
|
/** For testing purposes: this is to force the pokemon to fail and escape */
|
||||||
public forceFailEscape = false;
|
public forceFailEscape = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user