illusion test correction

This commit is contained in:
Lylian 2024-08-05 02:12:39 +02:00
parent 41ca2cd9ef
commit 889465be65

View File

@ -64,6 +64,8 @@ describe("Abilities - Illusion", () => {
await game.startBattle([Species.AXEW]); await game.startBattle([Species.AXEW]);
game.doAttack(getMovePosition(game.scene, 0, Moves.WORRY_SEED)); game.doAttack(getMovePosition(game.scene, 0, Moves.WORRY_SEED));
await game.phaseInterceptor.to(TurnEndPhase);
const zorua = game.scene.getEnemyPokemon(); const zorua = game.scene.getEnemyPokemon();
expect(zorua.illusion.active).equals(false); expect(zorua.illusion.active).equals(false);