fix: refresh duviri seed after non-quit completion of a duviri game mode (#1834)
Reviewed-on: #1834 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
parent
fb5a7320bb
commit
6f64690b91
@ -570,6 +570,13 @@ export const addMissionInventoryUpdates = async (
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "duviriCaveOffers": {
|
||||
// Duviri cave offers (generated with the duviri seed) change after completing one of its game modes (not when aborting).
|
||||
if (inventoryUpdates.MissionStatus != "GS_QUIT") {
|
||||
inventory.DuviriInfo.Seed = generateRewardSeed();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
// Equipment XP updates
|
||||
if (equipmentKeys.includes(key as TEquipmentKey)) {
|
||||
|
@ -127,6 +127,15 @@ export type IMissionInventoryUpdateRequest = {
|
||||
creditsFee?: number; // the index
|
||||
InvasionProgress?: IInvasionProgressClient[];
|
||||
ConquestMissionsCompleted?: number;
|
||||
duviriSuitSelection?: string;
|
||||
duviriPistolSelection?: string;
|
||||
duviriLongGunSelection?: string;
|
||||
duviriMeleeSelection?: string;
|
||||
duviriCaveOffers?: {
|
||||
Seed: number | bigint;
|
||||
Warframes: string[];
|
||||
Weapons: string[];
|
||||
};
|
||||
} & {
|
||||
[K in TEquipmentKey]?: IEquipmentClient[];
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user