mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-30 13:33:01 +02:00
Use game.field
instead of game.scene
in metronome.test.ts
This commit is contained in:
parent
8f6356b971
commit
9c99d42aa5
@ -87,7 +87,7 @@ describe("Moves - Metronome", () => {
|
||||
vi.spyOn(randomMoveAttr, "getMoveOverride").mockReturnValue(MoveId.SOLAR_BEAM);
|
||||
await game.classicMode.startBattle([SpeciesId.REGIELEKI]);
|
||||
|
||||
const player = game.scene.getPlayerPokemon()!;
|
||||
const player = game.field.getPlayerPokemon();
|
||||
game.move.changeMoveset(player, [MoveId.METRONOME, MoveId.SOLAR_BEAM]);
|
||||
|
||||
const [metronomeMove, solarBeamMove] = player.getMoveset();
|
||||
|
Loading…
Reference in New Issue
Block a user