Compare commits

..

1 Commits

Author SHA1 Message Date
cbfbb1e903 add hex conquest rewards
All checks were successful
Build / build (pull_request) Successful in 54s
Build / build (push) Successful in 1m19s
2025-04-23 03:52:40 +02:00

View File

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