Compare commits

..

1 Commits

Author SHA1 Message Date
72bf0fb4a4 add hex conquest rewards
Some checks failed
Build / build (push) Has been cancelled
Build / build (pull_request) Failing after 1m20s
2025-04-23 03:52:28 +02:00

View File

@ -848,7 +848,7 @@ export const addMissionRewards = async (
if (conquestType == "HexConquest") {
inventory.EchoesHexConquestCacheScoreMission ??= 0;
if (score > inventory.EchoesHexConquestCacheScoreMission) {
for (const reward of hexConquestRewards) {
for (const reward of labConquestRewards) {
if (score >= reward.at && inventory.EchoesHexConquestCacheScoreMission < reward.at) {
const rolled = getRandomReward(reward.pool)!;
logger.debug(`rolled hex conquest reward for reaching ${reward.at} points`, rolled);