For slots that have seasonal items added, force slot spawn chance to be at least 75%
This commit is contained in:
parent
1c6550894e
commit
9d3f6dc092
@ -383,6 +383,9 @@ export class SeasonalEventService
|
||||
const gearAmendments = botGearChanges[bot];
|
||||
for (const equipmentSlot in gearAmendments)
|
||||
{
|
||||
// Adjust slots spawn chance to be at least 75%
|
||||
botToUpdate.chances.equipment[equipmentSlot] = Math.max(botToUpdate.chances.equipment[equipmentSlot], 75);
|
||||
|
||||
// Grab gear to add and loop over it
|
||||
const itemsToAdd = gearAmendments[equipmentSlot];
|
||||
for (const itemTplIdToAdd in itemsToAdd)
|
||||
|
Loading…
Reference in New Issue
Block a user