mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-10 09:29:25 +02:00
[Test] Fix first-attack-double-power.test.ts
tests
The trainer type overrides appear to be bugged currently
This commit is contained in:
parent
268605a5e3
commit
fcdbf16bc3
@ -1,11 +1,9 @@
|
|||||||
import { allMoves } from "#data/data-lists";
|
import { allMoves } from "#data/data-lists";
|
||||||
import { AbilityId } from "#enums/ability-id";
|
import { AbilityId } from "#enums/ability-id";
|
||||||
import { BattleType } from "#enums/battle-type";
|
|
||||||
import { BattlerIndex } from "#enums/battler-index";
|
import { BattlerIndex } from "#enums/battler-index";
|
||||||
import { MoveId } from "#enums/move-id";
|
import { MoveId } from "#enums/move-id";
|
||||||
import { MoveUseMode } from "#enums/move-use-mode";
|
import { MoveUseMode } from "#enums/move-use-mode";
|
||||||
import { SpeciesId } from "#enums/species-id";
|
import { SpeciesId } from "#enums/species-id";
|
||||||
import { TrainerType } from "#enums/trainer-type";
|
|
||||||
import { GameManager } from "#test/testUtils/gameManager";
|
import { GameManager } from "#test/testUtils/gameManager";
|
||||||
import Phaser from "phaser";
|
import Phaser from "phaser";
|
||||||
import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
|
import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
|
||||||
@ -29,8 +27,7 @@ describe("Moves - Fishious Rend & Bolt Beak", () => {
|
|||||||
game.override
|
game.override
|
||||||
.ability(AbilityId.STURDY)
|
.ability(AbilityId.STURDY)
|
||||||
.battleStyle("single")
|
.battleStyle("single")
|
||||||
.battleType(BattleType.TRAINER)
|
.startingWave(5)
|
||||||
.randomTrainer({ trainerType: TrainerType.YOUNGSTER })
|
|
||||||
.criticalHits(false)
|
.criticalHits(false)
|
||||||
.enemyLevel(100)
|
.enemyLevel(100)
|
||||||
.enemySpecies(SpeciesId.DRACOVISH)
|
.enemySpecies(SpeciesId.DRACOVISH)
|
||||||
|
Loading…
Reference in New Issue
Block a user