Feature Request: Add Local Random Relic Drop Logic to WebUI for Better Gameplay Experience #2352
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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!