mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-29 11:42:21 +02:00
Update autotomize test
This commit is contained in:
parent
1e2305141c
commit
d43deb311c
@ -60,22 +60,22 @@ describe("Moves - Autotomize", () => {
|
|||||||
const playerPokemon = game.scene.getPlayerPokemon()!;
|
const playerPokemon = game.scene.getPlayerPokemon()!;
|
||||||
|
|
||||||
expect(playerPokemon.getWeight()).toBe(baseAegislashWeight);
|
expect(playerPokemon.getWeight()).toBe(baseAegislashWeight);
|
||||||
|
|
||||||
game.move.select(Moves.AUTOTOMIZE);
|
game.move.select(Moves.AUTOTOMIZE);
|
||||||
await game.toNextTurn();
|
await game.toNextTurn();
|
||||||
expect(playerPokemon.getWeight()).toBe(autotomizeAegislashWeight);
|
expect(playerPokemon.getWeight()).toBe(autotomizeAegislashWeight);
|
||||||
game.move.select(Moves.FALSE_SWIPE);
|
|
||||||
await game.toNextTurn();
|
|
||||||
|
|
||||||
game.move.select(Moves.KINGS_SHIELD);
|
// Transform to sword form
|
||||||
|
game.move.select(Moves.FALSE_SWIPE);
|
||||||
await game.toNextTurn();
|
await game.toNextTurn();
|
||||||
expect(playerPokemon.getWeight()).toBe(baseAegislashWeight);
|
expect(playerPokemon.getWeight()).toBe(baseAegislashWeight);
|
||||||
|
|
||||||
|
|
||||||
game.move.select(Moves.AUTOTOMIZE);
|
game.move.select(Moves.AUTOTOMIZE);
|
||||||
await game.toNextTurn();
|
await game.toNextTurn();
|
||||||
expect(playerPokemon.getWeight()).toBe(autotomizeAegislashWeight);
|
expect(playerPokemon.getWeight()).toBe(autotomizeAegislashWeight);
|
||||||
|
|
||||||
game.move.select(Moves.FALSE_SWIPE);
|
// Transform to shield form
|
||||||
|
game.move.select(Moves.KINGS_SHIELD);
|
||||||
await game.toNextTurn();
|
await game.toNextTurn();
|
||||||
expect(playerPokemon.getWeight()).toBe(baseAegislashWeight);
|
expect(playerPokemon.getWeight()).toBe(baseAegislashWeight);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user