fix: don't divide by 0 #1966
@ -1449,7 +1449,11 @@ function getRandomMissionDrops(
|
||||
}
|
||||
}
|
||||
rewardManifests = [job.rewards];
|
||||
if (job.xpAmounts.length > 1) {
|
||||
rotations = [RewardInfo.JobStage! % (job.xpAmounts.length - 1)];
|
||||
} else {
|
||||
rotations = [RewardInfo.JobStage!];
|
||||
}
|
||||
if (
|
||||
RewardInfo.Q &&
|
||||
(RewardInfo.JobStage === job.xpAmounts.length - 1 || job.isVault) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user