返回提交历史
Modified
src/services/missionInventoryUpdateService.ts
+13
-0
XFEstudio/SpaceNinjaServer
feat: HeistProfitTakerBountyThree first time completion reward (#1552)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1552 Reviewed-by: Sainan <sainan@calamity.inc> Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
f0351489
代码差异
1 个文件
+13
-0
@@ -166,6 +166,19 @@ export const addMissionInventoryUpdates = async (
166
166
}
167
167
if (!chain.Jobs.includes(bounty)) {
168
168
chain.Jobs.push(bounty);
169
if (bounty == "/Lotus/Types/Gameplay/Venus/Jobs/Heists/HeistProfitTakerBountyThree") {
170
await createMessage(inventory.accountOwnerId, [
171
{
172
sub: "/Lotus/Language/SolarisHeists/HeavyCatalystInboxTitle",
173
sndr: "/Lotus/Language/Bosses/Ordis",
174
msg: "/Lotus/Language/SolarisHeists/HeavyCatalystInboxMessage",
175
icon: "/Lotus/Interface/Icons/Npcs/Ordis.png",
176
att: ["/Lotus/Types/Restoratives/HeavyWeaponSummon"],
177
highPriority: true
178
}
179
]);
180
await addItem(inventory, "/Lotus/Types/Items/MiscItems/HeavyWeaponCatalyst", 1);
181
}
169
182
}
170
183
}
171
184
}