set min to size of special loot array

This commit is contained in:
Chomp 2021-08-31 18:52:00 +01:00
parent 4baaeb47bc
commit f0d48619bf

View File

@ -109,7 +109,7 @@ namespace Generator.Helpers.Gear
public static void AddGenerationChances(Bot bot) 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<Datum> baseBots) public static void CalculateEquipmentChances(Bot bot, List<Datum> baseBots)
{ {