fix: correctly apply riven cipher #2554

Merged
Sainan merged 2 commits from riven-complete-fix into main 2025-07-27 06:29:13 -07:00
Showing only changes of commit a268ae6957 - Show all commits

View File

@ -26,7 +26,7 @@ export const completeRandomModChallengeController: RequestHandler = async (req,
inventoryChanges.MiscItems = miscItemChanges;
}
// Update riven fingerprint to a randomised unveiled state
// Complete the riven challenge
const upgrade = inventory.Upgrades.id(request.ItemId)!;
const fp = JSON.parse(upgrade.UpgradeFingerprint!) as IVeiledRivenFingerprint;
fp.challenge.Progress = fp.challenge.Required;