mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 06:49:35 +02:00
Update src/test/abilities/friend_guard.test.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
24c0f45ff7
commit
d8b60a1484
@ -34,7 +34,7 @@ describe("Moves - Friend Guard", () => {
|
|||||||
|
|
||||||
it("first part of test, getting hp without friend guard", async () => {
|
it("first part of test, getting hp without friend guard", async () => {
|
||||||
await game.classicMode.startBattle([ Species.BULBASAUR, Species.BULBASAUR ]);
|
await game.classicMode.startBattle([ Species.BULBASAUR, Species.BULBASAUR ]);
|
||||||
const party = game.scene.getParty()! as PlayerPokemon[];
|
const [ player1, player2 ] = game.scene.getPlayerField();
|
||||||
game.move.select(Moves.SPLASH);
|
game.move.select(Moves.SPLASH);
|
||||||
game.move.select(Moves.SPLASH, 1);
|
game.move.select(Moves.SPLASH, 1);
|
||||||
await game.forceEnemyMove(Moves.TACKLE, BattlerIndex.PLAYER);
|
await game.forceEnemyMove(Moves.TACKLE, BattlerIndex.PLAYER);
|
||||||
|
Loading…
Reference in New Issue
Block a user