feat: resource reward along with duviri decree
This commit is contained in:
parent
77513190e4
commit
4a5178b157
8
package-lock.json
generated
8
package-lock.json
generated
@ -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",
|
||||
|
@ -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"
|
||||
|
@ -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();
|
||||
|
@ -1403,6 +1403,8 @@ function getRandomMissionDrops(
|
||||
} else {
|
||||
rewardManifests = [];
|
||||
}
|
||||
} else if (RewardInfo.T == 15) {
|
||||
rewardManifests = ["/Lotus/Types/Game/MissionDecks/DuviriEncounterRewards/DuviriKullervoNormalRNGRewards"];
|
||||
} else {
|
||||
rewardManifests = region.rewardManifests;
|
||||
}
|
||||
|
@ -177,6 +177,7 @@ export interface IRewardInfo {
|
||||
PurgatoryRewardQualifications?: string;
|
||||
rewardSeed?: number | bigint;
|
||||
periodicMissionTag?: string;
|
||||
T?: number; // Duviri
|
||||
ConquestType?: string;
|
||||
ConquestCompleted?: number;
|
||||
ConquestEquipmentSuggestionsFulfilled?: number;
|
||||
|
Loading…
x
Reference in New Issue
Block a user