fix: only give normal variant blueprints from daily tribute
All checks were successful
Build / build (20) (push) Successful in 42s
Build / build (18) (push) Successful in 1m21s
Build / build (22) (push) Successful in 43s
Build / build (18) (pull_request) Successful in 1m17s
Build / build (22) (pull_request) Successful in 46s
Build / build (20) (pull_request) Successful in 1m14s

you definitely shouldn't get prime or kuva variants
This commit is contained in:
Sainan 2025-03-26 12:27:33 +01:00
parent aea1787908
commit babd0217ae

View File

@ -83,13 +83,13 @@ const getRandomLoginReward = (rng: CRng, day: number, inventory: TInventoryDatab
masteredItems.add(entry.ItemType); masteredItems.add(entry.ItemType);
} }
const unmasteredItems = new Set(); const unmasteredItems = new Set();
for (const uniqueName of Object.keys(ExportWeapons)) { for (const [uniqueName, data] of Object.entries(ExportWeapons)) {
if (!masteredItems.has(uniqueName)) { if (data.variantType == "VT_NORMAL" && !masteredItems.has(uniqueName)) {
unmasteredItems.add(uniqueName); unmasteredItems.add(uniqueName);
} }
} }
for (const uniqueName of Object.keys(ExportWarframes)) { for (const [uniqueName, data] of Object.entries(ExportWarframes)) {
if (!masteredItems.has(uniqueName)) { if (data.variantType == "VT_NORMAL" && !masteredItems.has(uniqueName)) {
unmasteredItems.add(uniqueName); unmasteredItems.add(uniqueName);
} }
} }