mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 06:49:35 +02:00
more tests and fixing other issues
This commit is contained in:
parent
c68af46330
commit
129ae5c46c
@ -59,7 +59,7 @@ describe("Moves - Friend Guard", () => {
|
||||
|
||||
it("should NOT reduce damage to pokemon with friend guard", async () => {
|
||||
await game.classicMode.startBattle([ Species.BULBASAUR, Species.CHARMANDER ]);
|
||||
const [ , player2 ] = game.scene.getPlayerField();
|
||||
const player2 = game.scene.getPlayerField()[1];
|
||||
const maxHP = player2.hp;
|
||||
game.move.select(Moves.SPLASH);
|
||||
game.move.select(Moves.SPLASH, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user