feat: track NemesisAbandonedRewards
All checks were successful
Build / build (20) (push) Successful in 59s
Build / build (18) (pull_request) Successful in 40s
Build / build (22) (pull_request) Successful in 58s
Build / build (22) (push) Successful in 38s
Build / build (18) (push) Successful in 1m1s
Build / build (20) (pull_request) Successful in 58s
All checks were successful
Build / build (20) (push) Successful in 59s
Build / build (18) (pull_request) Successful in 40s
Build / build (22) (pull_request) Successful in 58s
Build / build (22) (push) Successful in 38s
Build / build (18) (push) Successful in 1m1s
Build / build (20) (pull_request) Successful in 58s
This commit is contained in:
parent
901263ada3
commit
248b97c241
@ -1290,7 +1290,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
|
||||
InvasionChainProgress: [Schema.Types.Mixed],
|
||||
|
||||
//CorpusLich or GrineerLich
|
||||
NemesisAbandonedRewards: [String],
|
||||
NemesisAbandonedRewards: { type: [String], default: [] },
|
||||
//CorpusLich\KuvaLich
|
||||
NemesisHistory: [Schema.Types.Mixed],
|
||||
LastNemesisAllySpawnTime: Schema.Types.Mixed,
|
||||
|
@ -84,6 +84,9 @@ export const addMissionInventoryUpdates = async (
|
||||
});
|
||||
}
|
||||
}
|
||||
if (inventoryUpdates.RewardInfo && inventoryUpdates.RewardInfo.NemesisAbandonedRewards) {
|
||||
inventory.NemesisAbandonedRewards = inventoryUpdates.RewardInfo.NemesisAbandonedRewards;
|
||||
}
|
||||
for (const [key, value] of getEntriesUnsafe(inventoryUpdates)) {
|
||||
if (value === undefined) {
|
||||
logger.error(`Inventory update key ${key} has no value `);
|
||||
|
@ -117,6 +117,7 @@ export interface IRewardInfo {
|
||||
toxinOk?: boolean;
|
||||
lostTargetWave?: number;
|
||||
defenseTargetCount?: number;
|
||||
NemesisAbandonedRewards?: string[];
|
||||
EOM_AFK?: number;
|
||||
rewardQualifications?: string; // did a Survival for 5 minutes and this was "1"
|
||||
PurgatoryRewardQualifications?: string;
|
||||
|
Loading…
x
Reference in New Issue
Block a user