Feature Request: Add Local Random Relic Drop Logic to WebUI for Better Gameplay Experience #2352

Closed
opened 2025-06-29 02:41:53 -07:00 by Sentap · 0 comments

Thanks for your great work on this project! I'd like to request a feature that could help improve randomness and reduce repetition in gameplay.

Currently, I modify the missionInventoryUpdateService locally to add 5 additional random relics each round using the following:

// randomrelic for every missions
const relicKeys = Object.keys(ExportRelics);
for (let i = 0; i < 5; i++) {
const relicKey = getRandomElement(relicKeys)!;
drops.push({ StoreItem: toStoreItem(relicKey), ItemCount: 1 });
}

and get all rewards from relic ,and it need a new relicHelper.ts:
// crackRelicGiveMeAll
if (
voidTearWave &&
voidTearWave.Participants[0].QualifiesForReward &&
!voidTearWave.Participants[0].HaveRewardResponse
) {
const rewards = await crackRelicGiveMeAll(inventory, voidTearWave.Participants[0], inventoryChanges);
for (const reward of rewards) {
MissionRewards.push({ StoreItem: reward.type, ItemCount: reward.itemCount });
}
}

However, this local modification prevents me from easily staying up to date with your latest changes. Would it be possible to incorporate this random relic drop logic into the WebUI settings or config panel? This would add flexibility for those of us who want extra variety in each mission while remaining in sync with future updates.

ty!

Thanks for your great work on this project! I'd like to request a feature that could help improve randomness and reduce repetition in gameplay. Currently, I modify the missionInventoryUpdateService locally to add 5 additional random relics each round using the following: // randomrelic for every missions const relicKeys = Object.keys(ExportRelics); for (let i = 0; i < 5; i++) { const relicKey = getRandomElement(relicKeys)!; drops.push({ StoreItem: toStoreItem(relicKey), ItemCount: 1 }); } and get all rewards from relic ,and it need a new relicHelper.ts: // crackRelicGiveMeAll if ( voidTearWave && voidTearWave.Participants[0].QualifiesForReward && !voidTearWave.Participants[0].HaveRewardResponse ) { const rewards = await crackRelicGiveMeAll(inventory, voidTearWave.Participants[0], inventoryChanges); for (const reward of rewards) { MissionRewards.push({ StoreItem: reward.type, ItemCount: reward.itemCount }); } } However, this local modification prevents me from easily staying up to date with your latest changes. Would it be possible to incorporate this random relic drop logic into the WebUI settings or config panel? This would add flexibility for those of us who want extra variety in each mission while remaining in sync with future updates. ty!
Sign in to join this conversation.
No description provided.