Compare commits

...

1 Commits

Author SHA1 Message Date
7ad1c9b328 fix: don't divide by 0
All checks were successful
Build / build (push) Successful in 1m35s
Build / build (pull_request) Successful in 1m27s
2025-05-03 00:13:06 +02:00

View File

@ -1449,7 +1449,11 @@ function getRandomMissionDrops(
}
}
rewardManifests = [job.rewards];
rotations = [RewardInfo.JobStage! % (job.xpAmounts.length - 1)];
if (job.xpAmounts.length > 1) {
rotations = [RewardInfo.JobStage!];
} else {
rotations = [RewardInfo.JobStage! % (job.xpAmounts.length - 1)];
}
if (
RewardInfo.Q &&
(RewardInfo.JobStage === job.xpAmounts.length - 1 || job.isVault) &&