From f0d48619bf03ee3314923a8f3cf10fe239d59b97 Mon Sep 17 00:00:00 2001 From: Chomp Date: Tue, 31 Aug 2021 18:52:00 +0100 Subject: [PATCH] set min to size of special loot array --- Generator/Helpers/Gear/GearChanceHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Generator/Helpers/Gear/GearChanceHelpers.cs b/Generator/Helpers/Gear/GearChanceHelpers.cs index 69d3623..b9c3b42 100644 --- a/Generator/Helpers/Gear/GearChanceHelpers.cs +++ b/Generator/Helpers/Gear/GearChanceHelpers.cs @@ -109,7 +109,7 @@ namespace Generator.Helpers.Gear public static void AddGenerationChances(Bot bot) { - bot.generation = new GenerationChances(bot.inventory.items.SpecialLoot.Count > 0 ? 1 : 0 , bot.inventory.items.SpecialLoot.Count, 1, 2, 0, 3, 2, 4, 0, 5); //TODO get dynamically + bot.generation = new GenerationChances(bot.inventory.items.SpecialLoot.Count, bot.inventory.items.SpecialLoot.Count, 1, 2, 0, 3, 2, 4, 0, 5); //TODO get dynamically } public static void CalculateEquipmentChances(Bot bot, List baseBots) {