mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Fixed tests
This commit is contained in:
parent
dcc2e51aca
commit
c070a9d0fb
@ -93,7 +93,7 @@ describe("Abilities - Mycelium Might", () => {
|
|||||||
|
|
||||||
game.move.select(Moves.QUICK_ATTACK);
|
game.move.select(Moves.QUICK_ATTACK);
|
||||||
|
|
||||||
await game.phaseInterceptor.run(TurnStartPhase, false);
|
await game.phaseInterceptor.to(TurnStartPhase, false);
|
||||||
const phase = game.scene.getCurrentPhase() as TurnStartPhase;
|
const phase = game.scene.getCurrentPhase() as TurnStartPhase;
|
||||||
const speedOrder = phase.getSpeedOrder();
|
const speedOrder = phase.getSpeedOrder();
|
||||||
const commandOrder = phase.getCommandOrder();
|
const commandOrder = phase.getCommandOrder();
|
||||||
|
@ -44,7 +44,7 @@ describe("Abilities - Stall", () => {
|
|||||||
|
|
||||||
game.move.select(Moves.QUICK_ATTACK);
|
game.move.select(Moves.QUICK_ATTACK);
|
||||||
|
|
||||||
await game.phaseInterceptor.run(TurnStartPhase, false);
|
await game.phaseInterceptor.to(TurnStartPhase, false);
|
||||||
const phase = game.scene.getCurrentPhase() as TurnStartPhase;
|
const phase = game.scene.getCurrentPhase() as TurnStartPhase;
|
||||||
const speedOrder = phase.getSpeedOrder();
|
const speedOrder = phase.getSpeedOrder();
|
||||||
const commandOrder = phase.getCommandOrder();
|
const commandOrder = phase.getCommandOrder();
|
||||||
@ -62,7 +62,7 @@ describe("Abilities - Stall", () => {
|
|||||||
|
|
||||||
game.move.select(Moves.TACKLE);
|
game.move.select(Moves.TACKLE);
|
||||||
|
|
||||||
await game.phaseInterceptor.run(TurnStartPhase, false);
|
await game.phaseInterceptor.to(TurnStartPhase, false);
|
||||||
const phase = game.scene.getCurrentPhase() as TurnStartPhase;
|
const phase = game.scene.getCurrentPhase() as TurnStartPhase;
|
||||||
const speedOrder = phase.getSpeedOrder();
|
const speedOrder = phase.getSpeedOrder();
|
||||||
const commandOrder = phase.getCommandOrder();
|
const commandOrder = phase.getCommandOrder();
|
||||||
@ -81,7 +81,7 @@ describe("Abilities - Stall", () => {
|
|||||||
|
|
||||||
game.move.select(Moves.TACKLE);
|
game.move.select(Moves.TACKLE);
|
||||||
|
|
||||||
await game.phaseInterceptor.run(TurnStartPhase, false);
|
await game.phaseInterceptor.to(TurnStartPhase, false);
|
||||||
const phase = game.scene.getCurrentPhase() as TurnStartPhase;
|
const phase = game.scene.getCurrentPhase() as TurnStartPhase;
|
||||||
const speedOrder = phase.getSpeedOrder();
|
const speedOrder = phase.getSpeedOrder();
|
||||||
const commandOrder = phase.getCommandOrder();
|
const commandOrder = phase.getCommandOrder();
|
||||||
|
Loading…
Reference in New Issue
Block a user