Compare commits
1 Commits
cbfbb1e903
...
72bf0fb4a4
Author | SHA1 | Date | |
---|---|---|---|
72bf0fb4a4 |
@ -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 hexConquestRewards) {
|
for (const reward of labConquestRewards) {
|
||||||
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user