diff --git a/src/services/missionInventoryUpdateService.ts b/src/services/missionInventoryUpdateService.ts index 92c1bc03..36cc50c0 100644 --- a/src/services/missionInventoryUpdateService.ts +++ b/src/services/missionInventoryUpdateService.ts @@ -746,10 +746,9 @@ export const addMissionRewards = async ( ) { const endlessJob = syndicateEntry.Jobs.find(j => j.endless); if (endlessJob) { - currentJob = endlessJob; - const index = rewardInfo.JobStage % currentJob.xpAmounts.length; - const excess = Math.floor(rewardInfo.JobStage / currentJob.xpAmounts.length); - medallionAmount = Math.floor(currentJob.xpAmounts[index] * (1 + 0.15000001 * excess)); + const index = rewardInfo.JobStage % endlessJob.xpAmounts.length; + const excess = Math.floor(rewardInfo.JobStage / endlessJob.xpAmounts.length); + medallionAmount = Math.floor(endlessJob.xpAmounts[index] * (1 + 0.15000001 * excess)); } } await addItem(inventory, "/Lotus/Types/Items/Deimos/EntratiFragmentUncommonB", medallionAmount);