返回提交历史
Modified
src/services/missionInventoryUpdateService.ts
+28
-3
XFEstudio/SpaceNinjaServer
feat: classic lich regalia rewards (#2073)
Closes #2068 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2073 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
f724073d
代码差异
1 个文件
+28
-3
@@ -686,9 +686,34 @@ export const addMissionInventoryUpdates = async (
686
686
addSkin(inventory, profile.ephemera);
687
687
}
688
688
689
// TOVERIFY: Is the inbox message also sent when converting a lich? If not, how are the rewards given?
690
if (inventory.Nemesis.Faction == "FC_INFESTATION") {
691
await sendCodaFinishedMessage(inventory, inventory.Nemesis.fp, value.nemesisName, value.killed);
689
switch (inventory.Nemesis.Faction) {
690
case "FC_GRINEER":
691
addSkin(
692
inventory,
693
value.killed
694
? "/Lotus/Upgrades/Skins/Clan/LichKillerBadgeItem"
695
: "/Lotus/Upgrades/Skins/Sigils/KuvaLichSigil"
696
);
697
break;
698
699
case "FC_CORPUS":
700
addSkin(
701
inventory,
702
value.killed
703
? "/Lotus/Upgrades/Skins/Clan/CorpusLichBadgeItem"
704
: "/Lotus/Upgrades/Skins/Sigils/CorpusLichSigil"
705
);
706
break;
707
708
case "FC_INFESTATION":
709
// TOVERIFY: Is the inbox message also sent when converting a lich? If not, how are the rewards given?
710
await sendCodaFinishedMessage(
711
inventory,
712
inventory.Nemesis.fp,
713
value.nemesisName,
714
value.killed
715
);
716
break;
692
717
}
693
718
694
719
inventory.Nemesis = undefined;