From 524d4a4ca7571ebc3d55c254136d81c09dfa31c5 Mon Sep 17 00:00:00 2001 From: Felix Staud Date: Thu, 11 Jul 2024 08:03:12 -0700 Subject: [PATCH] lost-at-sea ME: fix using DAMAGE_PERCENTAGE for damage calculation --- src/data/mystery-encounters/encounters/lost-at-sea-encounter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/mystery-encounters/encounters/lost-at-sea-encounter.ts b/src/data/mystery-encounters/encounters/lost-at-sea-encounter.ts index d2c60762b2d..0e906bb60c4 100644 --- a/src/data/mystery-encounters/encounters/lost-at-sea-encounter.ts +++ b/src/data/mystery-encounters/encounters/lost-at-sea-encounter.ts @@ -89,7 +89,7 @@ export const LostAtSeaEncounter: MysteryEncounter = .withOptionPhase(async (scene: BattleScene) => { const party = scene.getParty().filter((p) => !p.isFainted()); party.forEach((pkm) => { - const damage = Math.round(pkm.getMaxHp() / 3); + const damage = Math.round(pkm.getMaxHp() / (DAMAGE_PERCENTAGE / 100)); pkm.hp = Math.min(pkm.hp, damage); }); leaveEncounterWithoutBattle(scene);