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

chore: add logging for bounty medallion rewards (#2557)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2557 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>

8b4bc114
AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
提交于

代码差异

1 个文件 +4 -0
Modified src/services/missionInventoryUpdateService.ts +4 -0
@@ -1302,6 +1302,9 @@ export const addMissionRewards = async (
1302 1302 ItemCount: medallionAmount
1303 1303 });
1304 1304 SyndicateXPItemReward = medallionAmount;
1305 logger.debug(
1306 `Giving ${medallionAmount} medallions for the ${rewardInfo.JobStage} stage of the ${rewardInfo.JobTier} tier bounty`
1307 );
1305 1308 } else {
1306 1309 if (rewardInfo.JobTier! >= 0) {
1307 1310 addStanding(
@@ -1347,6 +1350,7 @@ export const addMissionRewards = async (
1347 1350 ItemCount: medallionAmount
1348 1351 });
1349 1352 SyndicateXPItemReward = medallionAmount;
1353 logger.debug(`Giving ${medallionAmount} medallions for the ${tier} tier bounty`);
1350 1354 } else {
1351 1355 let standingAmount = (tier + 1) * 1000;
1352 1356 if (tier > 5) standingAmount = 7500; // InfestedLichBounty