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 rewards for NewbieJob (#2559)

Closes #2536 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2559 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>

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

代码差异

1 个文件 +8 -0
Modified src/services/missionInventoryUpdateService.ts +8 -0
@@ -1334,6 +1334,9 @@ export const addMissionRewards = async (
1334 1334 }
1335 1335 }
1336 1336 }
1337 if (jobType == "/Lotus/Types/Gameplay/Eidolon/Jobs/NewbieJob") {
1338 addStanding(inventory, "CetusSyndicate", Math.floor(200 / (rewardInfo.Q ? 0.8 : 1)), AffiliationMods);
1339 }
1337 1340 }
1338 1341
1339 1342 if (rewardInfo.challengeMissionId) {
@@ -1776,6 +1779,11 @@ function getRandomMissionDrops(
1776 1779 }
1777 1780 }
1778 1781 }
1782 if (jobType == "/Lotus/Types/Gameplay/Eidolon/Jobs/NewbieJob") {
1783 rewardManifests = ["/Lotus/Types/Game/MissionDecks/EidolonJobMissionRewards/TierATableARewards"];
1784 rotations = [3];
1785 if (RewardInfo.Q) rotations.push(3);
1786 }
1779 1787 }
1780 1788 } else if (RewardInfo.challengeMissionId) {
1781 1789 const rewardTables: Record<string, string[]> = {