mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-01 22:12:16 +02:00
Fixed illusion test
This commit is contained in:
parent
fa87c43f6d
commit
855f02f9bd
@ -116,12 +116,14 @@ describe("Abilities - Illusion", () => {
|
||||
expect(psychicEffectiveness).above(flameThrowerEffectiveness);
|
||||
});
|
||||
|
||||
it("does not break from indirect damage", async () => {
|
||||
it("should not break from indirect damage from status, weather or recoil", async () => {
|
||||
game.override.enemySpecies(Species.GIGALITH).enemyAbility(Abilities.SAND_STREAM);
|
||||
|
||||
await game.classicMode.startBattle([Species.ZOROARK, Species.AZUMARILL]);
|
||||
|
||||
game.move.use(Moves.FLARE_BLITZ);
|
||||
await game.phaseInterceptor.to("TurnEndPhase");
|
||||
await game.move.forceEnemyMove(Moves.WILL_O_WISP);
|
||||
await game.toEndOfTurn();
|
||||
|
||||
const zoroark = game.scene.getPlayerPokemon()!;
|
||||
expect(!!zoroark.summonData.illusion).equals(true);
|
||||
|
Loading…
Reference in New Issue
Block a user