mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-29 19:52:27 +02:00
added documentation to test cases
This commit is contained in:
parent
2863500566
commit
deb2860c72
@ -113,13 +113,15 @@ describe("Moves - Last Respects", () => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The first Pokemon faints and another Pokemon in the party is selected.
|
* The first Pokemon faints and another Pokemon in the party is selected.
|
||||||
* Enemy Pokemon also faints
|
|
||||||
*/
|
*/
|
||||||
game.move.select(Moves.LUNAR_DANCE);
|
game.move.select(Moves.LUNAR_DANCE);
|
||||||
await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
|
await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
|
||||||
game.doSelectPartyPokemon(1);
|
game.doSelectPartyPokemon(1);
|
||||||
await game.toNextTurn();
|
await game.toNextTurn();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enemy Pokemon faints and new wave is entered.
|
||||||
|
*/
|
||||||
game.move.select(Moves.LAST_RESPECTS);
|
game.move.select(Moves.LAST_RESPECTS);
|
||||||
await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
|
await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
|
||||||
await game.toNextWave();
|
await game.toNextWave();
|
||||||
|
Loading…
Reference in New Issue
Block a user