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

SpaceNinjaServer

A simple server for a small space ninja game

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

XFEstudio/SpaceNinjaServer

feat: send jordas precept email when completing pluto to eris junction (#1660)

Closes #1659 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1660 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

46aef2c0
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +13 -0
Modified src/services/missionInventoryUpdateService.ts +13 -0
@@ -629,6 +629,19 @@ export const addMissionRewards = async (
629 629 if (node.missionReward) {
630 630 missionCompletionCredits += addFixedLevelRewards(node.missionReward, inventory, MissionRewards, rewardInfo);
631 631 }
632
633 if (missions.Tag == "PlutoToErisJunction") {
634 await createMessage(inventory.accountOwnerId, [
635 {
636 sndr: "/Lotus/Language/G1Quests/GolemQuestJordasName",
637 msg: "/Lotus/Language/G1Quests/GolemQuestIntroBody",
638 att: ["/Lotus/Types/Keys/GolemQuest/GolemQuestKeyChainItem"],
639 sub: "/Lotus/Language/G1Quests/GolemQuestIntroTitle",
640 icon: "/Lotus/Interface/Icons/Npcs/JordasPortrait.png",
641 highPriority: true
642 }
643 ]);
644 }
632 645 }
633 646
634 647 if (rewardInfo.useVaultManifest) {