feat: handle HenchmenKilled & HintProgress incrementing
All checks were successful
Build / build (push) Successful in 1m31s
Build / build (pull_request) Successful in 1m32s

This commit is contained in:
Sainan 2025-04-26 22:10:09 +02:00
parent de36e2ee8d
commit a653cb09ea
2 changed files with 8 additions and 0 deletions

View File

@ -190,6 +190,12 @@ export const addMissionInventoryUpdates = async (
if (inventoryUpdates.RewardInfo.NemesisAbandonedRewards) {
inventory.NemesisAbandonedRewards = inventoryUpdates.RewardInfo.NemesisAbandonedRewards;
}
if (inventoryUpdates.RewardInfo.NemesisHenchmenKills && inventory.Nemesis) {
inventory.Nemesis.HenchmenKilled += inventoryUpdates.RewardInfo.NemesisHenchmenKills;
}
if (inventoryUpdates.RewardInfo.NemesisHintProgress && inventory.Nemesis) {
inventory.Nemesis.HintProgress += inventoryUpdates.RewardInfo.NemesisHintProgress;
}
if (inventoryUpdates.MissionStatus == "GS_SUCCESS" && inventoryUpdates.RewardInfo.jobId) {
// e.g. for Profit-Taker Phase 1:
// JobTier: -6,

View File

@ -158,6 +158,8 @@ export interface IRewardInfo {
lostTargetWave?: number;
defenseTargetCount?: number;
NemesisAbandonedRewards?: string[];
NemesisHenchmenKills?: number;
NemesisHintProgress?: number;
EOM_AFK?: number;
rewardQualifications?: string; // did a Survival for 5 minutes and this was "1"
PurgatoryRewardQualifications?: string;