mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-02 06:22:15 +02:00
Fixed battle tets
This commit is contained in:
parent
d6c5f0d514
commit
9b7ea69c93
@ -9,7 +9,6 @@ import { EnemyCommandPhase } from "#app/phases/enemy-command-phase";
|
|||||||
import { LoginPhase } from "#app/phases/login-phase";
|
import { LoginPhase } from "#app/phases/login-phase";
|
||||||
import { NextEncounterPhase } from "#app/phases/next-encounter-phase";
|
import { NextEncounterPhase } from "#app/phases/next-encounter-phase";
|
||||||
import { SelectGenderPhase } from "#app/phases/select-gender-phase";
|
import { SelectGenderPhase } from "#app/phases/select-gender-phase";
|
||||||
import { SelectModifierPhase } from "#app/phases/select-modifier-phase";
|
|
||||||
import { SelectStarterPhase } from "#app/phases/select-starter-phase";
|
import { SelectStarterPhase } from "#app/phases/select-starter-phase";
|
||||||
import { SummonPhase } from "#app/phases/summon-phase";
|
import { SummonPhase } from "#app/phases/summon-phase";
|
||||||
import { SwitchPhase } from "#app/phases/switch-phase";
|
import { SwitchPhase } from "#app/phases/switch-phase";
|
||||||
@ -90,15 +89,10 @@ describe("Test Battle Phase", () => {
|
|||||||
}, 20000);
|
}, 20000);
|
||||||
|
|
||||||
it("do attack wave 3 - single battle - regular - OHKO", async () => {
|
it("do attack wave 3 - single battle - regular - OHKO", async () => {
|
||||||
game.override
|
game.override.enemySpecies(Species.RATTATA).startingLevel(2000).battleStyle("single");
|
||||||
.enemySpecies(Species.RATTATA)
|
|
||||||
.startingLevel(2000)
|
|
||||||
.startingWave(3)
|
|
||||||
.battleStyle("single")
|
|
||||||
.enemyMoveset([Moves.TACKLE, Moves.TACKLE, Moves.TACKLE, Moves.TACKLE]);
|
|
||||||
await game.classicMode.startBattle([Species.MEWTWO]);
|
await game.classicMode.startBattle([Species.MEWTWO]);
|
||||||
game.move.select(Moves.TACKLE);
|
game.move.use(Moves.TACKLE);
|
||||||
await game.phaseInterceptor.runFrom(EnemyCommandPhase).to(SelectModifierPhase, false);
|
await game.phaseInterceptor.to("SelectModifierPhase");
|
||||||
}, 20000);
|
}, 20000);
|
||||||
|
|
||||||
it("do attack wave 3 - single battle - regular - NO OHKO with opponent using non damage attack", async () => {
|
it("do attack wave 3 - single battle - regular - NO OHKO with opponent using non damage attack", async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user