mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-15 12:52:20 +02:00
nit
This commit is contained in:
parent
274b63e582
commit
f6eea0ad8e
@ -67,20 +67,6 @@ describe("Abilities - Illusion", () => {
|
|||||||
expect(!!zorua.summonData?.illusion).equals(false);
|
expect(!!zorua.summonData?.illusion).equals(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("breaks when suppressed", async () => {
|
|
||||||
game.override.moveset(Moves.GASTRO_ACID);
|
|
||||||
await game.classicMode.startBattle([Species.MAGIKARP]);
|
|
||||||
const zorua = game.scene.getEnemyPokemon()!;
|
|
||||||
|
|
||||||
expect(!!zorua.summonData?.illusion).toBe(true);
|
|
||||||
|
|
||||||
game.move.select(Moves.GASTRO_ACID);
|
|
||||||
await game.phaseInterceptor.to(BerryPhase);
|
|
||||||
|
|
||||||
expect(zorua.isFullHp()).toBe(true);
|
|
||||||
expect(!!zorua.summonData?.illusion).toBe(false);
|
|
||||||
});
|
|
||||||
|
|
||||||
it("break with neutralizing gas", async () => {
|
it("break with neutralizing gas", async () => {
|
||||||
game.override.enemyAbility(Abilities.NEUTRALIZING_GAS);
|
game.override.enemyAbility(Abilities.NEUTRALIZING_GAS);
|
||||||
await game.classicMode.startBattle([Species.KOFFING]);
|
await game.classicMode.startBattle([Species.KOFFING]);
|
||||||
|
Loading…
Reference in New Issue
Block a user