fix: incorect deimos bounty medallion reward #2524

Merged
Sainan merged 1 commits from AMelonInsideLemon/SpaceNinjaServer:fix-deimos-bounty-medallionAmount into main 2025-07-21 03:23:07 -07:00

View File

@ -1283,9 +1283,7 @@ export const addMissionRewards = async (
} }
} }
} }
let medallionAmount = Math.floor( let medallionAmount = Math.floor(currentJob.xpAmounts[rewardInfo.JobStage] / (rewardInfo.Q ? 0.8 : 1));
Math.min(rewardInfo.JobStage, currentJob.xpAmounts.length - 1) / (rewardInfo.Q ? 0.8 : 1)
);
if ( if (
["DeimosEndlessAreaDefenseBounty", "DeimosEndlessExcavateBounty", "DeimosEndlessPurifyBounty"].some( ["DeimosEndlessAreaDefenseBounty", "DeimosEndlessExcavateBounty", "DeimosEndlessPurifyBounty"].some(
ending => jobType.endsWith(ending) ending => jobType.endsWith(ending)