feat: resource reward along with duviri decree
All checks were successful
Build / build (push) Successful in 1m3s
Build / build (pull_request) Successful in 1m44s

This commit is contained in:
Sainan 2025-05-13 10:46:24 +02:00
parent 77513190e4
commit 4a5178b157
5 changed files with 13 additions and 6 deletions

8
package-lock.json generated
View File

@ -18,7 +18,7 @@
"morgan": "^1.10.0",
"ncp": "^2.0.0",
"typescript": "^5.5",
"warframe-public-export-plus": "^0.5.60",
"warframe-public-export-plus": "^0.5.61",
"warframe-riven-info": "^0.1.2",
"winston": "^3.17.0",
"winston-daily-rotate-file": "^5.0.0"
@ -3703,9 +3703,9 @@
}
},
"node_modules/warframe-public-export-plus": {
"version": "0.5.60",
"resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.60.tgz",
"integrity": "sha512-vMfytUc4xRi+b7RTSq+TJEl91vwEegpQKxLtXwRPfs9ZHhntxc4rmDYSNWJTvgf/aWXsFUxQlqL/GV5OLPGM7g=="
"version": "0.5.61",
"resolved": "https://registry.npmjs.org/warframe-public-export-plus/-/warframe-public-export-plus-0.5.61.tgz",
"integrity": "sha512-WxZ93G/a98agZK4/hlgtn4SaVsnl9hy3vmJu8hLzyMzxt8AMW+8prK7lC62WP/grA5DWp3qllokasqt644owmA=="
},
"node_modules/warframe-riven-info": {
"version": "0.1.2",

View File

@ -25,7 +25,7 @@
"morgan": "^1.10.0",
"ncp": "^2.0.0",
"typescript": "^5.5",
"warframe-public-export-plus": "^0.5.60",
"warframe-public-export-plus": "^0.5.61",
"warframe-riven-info": "^0.1.2",
"winston": "^3.17.0",
"winston-daily-rotate-file": "^5.0.0"

View File

@ -61,7 +61,11 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
if (
missionReport.MissionStatus !== "GS_SUCCESS" &&
!(missionReport.RewardInfo?.jobId || missionReport.RewardInfo?.challengeMissionId)
!(
missionReport.RewardInfo?.jobId ||
missionReport.RewardInfo?.challengeMissionId ||
missionReport.RewardInfo?.T
)
) {
if (missionReport.EndOfMatchUpload) {
inventory.RewardSeed = generateRewardSeed();

View File

@ -1403,6 +1403,8 @@ function getRandomMissionDrops(
} else {
rewardManifests = [];
}
} else if (RewardInfo.T == 15) {
rewardManifests = ["/Lotus/Types/Game/MissionDecks/DuviriEncounterRewards/DuviriKullervoNormalRNGRewards"];
} else {
rewardManifests = region.rewardManifests;
}

View File

@ -177,6 +177,7 @@ export interface IRewardInfo {
PurgatoryRewardQualifications?: string;
rewardSeed?: number | bigint;
periodicMissionTag?: string;
T?: number; // Duviri
ConquestType?: string;
ConquestCompleted?: number;
ConquestEquipmentSuggestionsFulfilled?: number;