Update src/test/abilities/friend_guard.test.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
PrabbyDD 2024-10-24 11:20:23 -07:00 committed by GitHub
parent 24c0f45ff7
commit d8b60a1484
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);