From 7e23acf47b885ad1dea58ec9d24a81fd43aecd87 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Wed, 14 May 2025 06:06:29 +0200 Subject: [PATCH] feat: classic lich regalia rewards --- src/services/missionInventoryUpdateService.ts | 31 +++++++++++++++++-- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/src/services/missionInventoryUpdateService.ts b/src/services/missionInventoryUpdateService.ts index 45f2a953..1caf5767 100644 --- a/src/services/missionInventoryUpdateService.ts +++ b/src/services/missionInventoryUpdateService.ts @@ -686,9 +686,34 @@ export const addMissionInventoryUpdates = async ( addSkin(inventory, profile.ephemera); } - // TOVERIFY: Is the inbox message also sent when converting a lich? If not, how are the rewards given? - if (inventory.Nemesis.Faction == "FC_INFESTATION") { - await sendCodaFinishedMessage(inventory, inventory.Nemesis.fp, value.nemesisName, value.killed); + switch (inventory.Nemesis.Faction) { + case "FC_GRINEER": + addSkin( + inventory, + value.killed + ? "/Lotus/Upgrades/Skins/Clan/LichKillerBadgeItem" + : "/Lotus/Upgrades/Skins/Sigils/KuvaLichSigil" + ); + break; + + case "FC_CORPUS": + addSkin( + inventory, + value.killed + ? "/Lotus/Upgrades/Skins/Clan/CorpusLichBadgeItem" + : "/Lotus/Upgrades/Skins/Sigils/CorpusLichSigil" + ); + break; + + case "FC_INFESTATION": + // TOVERIFY: Is the inbox message also sent when converting a lich? If not, how are the rewards given? + await sendCodaFinishedMessage( + inventory, + inventory.Nemesis.fp, + value.nemesisName, + value.killed + ); + break; } inventory.Nemesis = undefined;