Update test/abilities/illusion.test.ts

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
Lylian BALL 2025-03-31 11:19:48 +02:00 committed by GitHub
parent f368aebbe4
commit 34878c8d4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ describe("Abilities - Illusion", () => {
expect(zorua.battleData.illusion.active).equals(false); expect(zorua.battleData.illusion.active).equals(false);
}); });
it("trick the enemy AI for moves effectiveness using ILLUSION type instead of actual type", async () => { it("causes enemy AI to consider the illusion's type instead of the actual type when considering move effectiveness", async () => {
game.override.enemyMoveset([Moves.FLAMETHROWER, Moves.PSYCHIC, Moves.TACKLE, Moves.TACKLE]); game.override.enemyMoveset([Moves.FLAMETHROWER, Moves.PSYCHIC, Moves.TACKLE, Moves.TACKLE]);
await game.classicMode.startBattle([Species.ZOROARK, Species.AXEW]); await game.classicMode.startBattle([Species.ZOROARK, Species.AXEW]);