XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

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
AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -3
Modified src/services/missionInventoryUpdateService.ts +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)