mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-21 16:31:03 +00:00
Test for Relic Song interaction
This commit is contained in:
parent
7a5c02f249
commit
73d198256f
@ -191,5 +191,20 @@ describe("Abilities - Sheer Force", () => {
|
|||||||
expect(onix.getTypes()).toStrictEqual(expectedTypes);
|
expect(onix.getTypes()).toStrictEqual(expectedTypes);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("Sheer Force should disable Meloetta's transformation from Relic Song", async () => {
|
||||||
|
game.override
|
||||||
|
.ability(Abilities.SHEER_FORCE)
|
||||||
|
.moveset([ Moves.RELIC_SONG ])
|
||||||
|
.enemyMoveset([ Moves.SPLASH ]);
|
||||||
|
await game.classicMode.startBattle([ Species.MELOETTA ]);
|
||||||
|
|
||||||
|
const playerPokemon = game.scene.getPlayerPokemon();
|
||||||
|
const formKeyStart = playerPokemon?.getFormKey();
|
||||||
|
|
||||||
|
game.move.select(Moves.RELIC_SONG);
|
||||||
|
await game.phaseInterceptor.to("TurnEndPhase");
|
||||||
|
expect(formKeyStart).toBe(playerPokemon?.getFormKey());
|
||||||
|
});
|
||||||
|
|
||||||
//TODO King's Rock Interaction Unit Test
|
//TODO King's Rock Interaction Unit Test
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user