feat: classic lich regalia rewards
All checks were successful
Build / build (push) Successful in 1m50s
Build / build (pull_request) Successful in 59s

This commit is contained in:
Sainan 2025-05-14 06:06:29 +02:00
parent 8fb676c906
commit 7e23acf47b

View File

@ -686,9 +686,34 @@ export const addMissionInventoryUpdates = async (
addSkin(inventory, profile.ephemera);
}
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?
if (inventory.Nemesis.Faction == "FC_INFESTATION") {
await sendCodaFinishedMessage(inventory, inventory.Nemesis.fp, value.nemesisName, value.killed);
await sendCodaFinishedMessage(
inventory,
inventory.Nemesis.fp,
value.nemesisName,
value.killed
);
break;
}
inventory.Nemesis = undefined;