From 9904ecc6b039bc3a8773a716e18bf2e096bd2a1d Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Tue, 8 Apr 2025 12:00:17 -0500 Subject: [PATCH] Add test to beak blast ensuring a long reach user does not get burned --- test/moves/beak_blast.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/moves/beak_blast.test.ts b/test/moves/beak_blast.test.ts index 9396e7d4581..252b28448fd 100644 --- a/test/moves/beak_blast.test.ts +++ b/test/moves/beak_blast.test.ts @@ -127,4 +127,14 @@ describe("Moves - Beak Blast", () => { await game.phaseInterceptor.to("BerryPhase", false); expect(enemyPokemon.status?.effect).toBe(StatusEffect.BURN); }); + + it("should not burn a long reach enemy that hits the user with a contact move", async () => { + game.override.enemyAbility(Abilities.LONG_REACH); + game.override.enemyMoveset([Moves.FALSE_SWIPE]).enemyLevel(100); + await game.classicMode.startBattle([Species.MAGIKARP]); + game.move.select(Moves.BEAK_BLAST); + await game.phaseInterceptor.to("BerryPhase", false); + const enemyPokemon = game.scene.getEnemyPokemon()!; + expect(enemyPokemon.status?.effect).not.toBe(StatusEffect.BURN); + }); });