mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-29 19:52:27 +02:00
updated todo tests
This commit is contained in:
parent
17161d81c6
commit
65c7e3141e
@ -106,10 +106,9 @@ describe("Moves - Last Respects", () => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The following 3 tests do not switch out Pokemon 0 after it uses Explosion.
|
* The following 3 tests do not switch out Pokemon 0 after it uses Explosion.
|
||||||
* It should die after using Explosion and switch out to Pokemon 1.
|
* The tests get stuck after the SelectModifierPhase.
|
||||||
* After switching in Pokemon 1 it uses Last Respects and the battle power is calculated.
|
|
||||||
*/
|
*/
|
||||||
it.todo("should maintain its power during next battle if it is within the same arena encounter", async () => {
|
it("should maintain its power during next battle if it is within the same arena encounter", async () => {
|
||||||
game.override
|
game.override
|
||||||
.enemySpecies(Species.MAGIKARP)
|
.enemySpecies(Species.MAGIKARP)
|
||||||
.startingWave(1)
|
.startingWave(1)
|
||||||
@ -118,10 +117,14 @@ describe("Moves - Last Respects", () => {
|
|||||||
|
|
||||||
await game.classicMode.startBattle([ Species.BULBASAUR, Species.CHARMANDER, Species.SQUIRTLE ]);
|
await game.classicMode.startBattle([ Species.BULBASAUR, Species.CHARMANDER, Species.SQUIRTLE ]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The first Pokemon faints and another Pokemon in the party is selected.
|
||||||
|
* Enemy Pokemon also faints
|
||||||
|
*/
|
||||||
game.move.select(Moves.EXPLOSION);
|
game.move.select(Moves.EXPLOSION);
|
||||||
await game.setTurnOrder([ BattlerIndex.PLAYER, BattlerIndex.ENEMY ]);
|
await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
|
||||||
game.doSelectPartyPokemon(1);
|
game.doSelectPartyPokemon(1);
|
||||||
await game.toNextWave();
|
await game.toNextTurn();
|
||||||
|
|
||||||
game.move.select(Moves.LAST_RESPECTS);
|
game.move.select(Moves.LAST_RESPECTS);
|
||||||
await game.setTurnOrder([ BattlerIndex.PLAYER, BattlerIndex.ENEMY ]);
|
await game.setTurnOrder([ BattlerIndex.PLAYER, BattlerIndex.ENEMY ]);
|
||||||
@ -140,7 +143,7 @@ describe("Moves - Last Respects", () => {
|
|||||||
await game.classicMode.startBattle([ Species.BULBASAUR, Species.CHARMANDER, Species.SQUIRTLE ]);
|
await game.classicMode.startBattle([ Species.BULBASAUR, Species.CHARMANDER, Species.SQUIRTLE ]);
|
||||||
|
|
||||||
game.move.select(Moves.EXPLOSION);
|
game.move.select(Moves.EXPLOSION);
|
||||||
await game.setTurnOrder([ BattlerIndex.PLAYER, BattlerIndex.ENEMY ]);
|
await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
|
||||||
game.doSelectPartyPokemon(1);
|
game.doSelectPartyPokemon(1);
|
||||||
await game.toNextTurn();
|
await game.toNextTurn();
|
||||||
|
|
||||||
@ -161,7 +164,7 @@ describe("Moves - Last Respects", () => {
|
|||||||
await game.classicMode.startBattle([ Species.BULBASAUR, Species.CHARMANDER, Species.SQUIRTLE ]);
|
await game.classicMode.startBattle([ Species.BULBASAUR, Species.CHARMANDER, Species.SQUIRTLE ]);
|
||||||
|
|
||||||
game.move.select(Moves.EXPLOSION);
|
game.move.select(Moves.EXPLOSION);
|
||||||
await game.setTurnOrder([ BattlerIndex.PLAYER, BattlerIndex.ENEMY ]);
|
await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
|
||||||
game.doSelectPartyPokemon(1);
|
game.doSelectPartyPokemon(1);
|
||||||
await game.toNextTurn();
|
await game.toNextTurn();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user