返回提交历史
Modified
src/services/missionInventoryUpdateService.ts
+1
-3
XFEstudio/XFESpaceNinjaServer
fix: incorect deimos bounty medallion reward (#2524)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2524 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
f8550e9a
代码差异
1 个文件
+1
-3
@@ -1283,9 +1283,7 @@ export const addMissionRewards = async (
1283
1283
}
1284
1284
}
1285
1285
}
1286
let medallionAmount = Math.floor(
1287
Math.min(rewardInfo.JobStage, currentJob.xpAmounts.length - 1) / (rewardInfo.Q ? 0.8 : 1)
1288
);
1286
let medallionAmount = Math.floor(currentJob.xpAmounts[rewardInfo.JobStage] / (rewardInfo.Q ? 0.8 : 1));
1289
1287
if (
1290
1288
["DeimosEndlessAreaDefenseBounty", "DeimosEndlessExcavateBounty", "DeimosEndlessPurifyBounty"].some(
1291
1289
ending => jobType.endsWith(ending)