mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 10:42:25 +02:00
Removed incorrect test for perish song
This commit is contained in:
parent
f9fd99581f
commit
63d91cd84d
@ -59,34 +59,4 @@ describe("Abilities - Perish Song", () => {
|
||||
|
||||
expect(magikarp?.summonData.tags[0].turnCount).toBe(3);
|
||||
});
|
||||
|
||||
it("should not activate if attacker already has perish song", async () => {
|
||||
game.override.enemyMoveset([ Moves.PERISH_SONG, Moves.AQUA_JET, Moves.SPLASH ]);
|
||||
await game.classicMode.startBattle([ Species.FEEBAS, Species.CURSOLA ]);
|
||||
const feebas = game.scene.getPlayerPokemon();
|
||||
const magikarp = game.scene.getEnemyPokemon();
|
||||
|
||||
game.move.select(Moves.SPLASH);
|
||||
await game.forceEnemyMove(Moves.PERISH_SONG);
|
||||
await game.toNextTurn();
|
||||
|
||||
expect(feebas?.summonData.tags[0].turnCount).toBe(3);
|
||||
expect(magikarp?.summonData.tags[0].turnCount).toBe(3);
|
||||
|
||||
game.doSwitchPokemon(1);
|
||||
await game.forceEnemyMove(Moves.SPLASH);
|
||||
await game.toNextTurn();
|
||||
|
||||
const cursola = game.scene.getPlayerPokemon();
|
||||
expect(cursola?.summonData.tags.length).toBe(0);
|
||||
expect(magikarp?.summonData.tags[0].turnCount).toBe(2);
|
||||
|
||||
game.move.select(Moves.SPLASH);
|
||||
await game.forceEnemyMove(Moves.AQUA_JET);
|
||||
await game.toNextTurn();
|
||||
|
||||
expect(cursola?.summonData.tags.length).toBe(0);
|
||||
expect(magikarp?.summonData.tags[0].turnCount).toBe(1);
|
||||
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user