use param tags

This commit is contained in:
Chomp 2021-09-06 21:24:32 +01:00
parent e9fe68a1d9
commit 3fa8fe40e4

View File

@ -86,10 +86,10 @@ namespace Generator.Helpers.Gear
{ {
bot.generation = new GenerationChances( bot.generation = new GenerationChances(
bot.inventory.items.SpecialLoot.Count, bot.inventory.items.SpecialLoot.Count, bot.inventory.items.SpecialLoot.Count, bot.inventory.items.SpecialLoot.Count,
1, 2, healingMin: 1, healingMax: 2,
0, 3, looseLootMin: 0, looseLootMax: 3,
GetMagazineCountByBotType(bot.botType).min, GetMagazineCountByBotType(bot.botType).max, magazinesMin: GetMagazineCountByBotType(bot.botType).min, MagazineMax: GetMagazineCountByBotType(bot.botType).max,
0, 5); //TODO get dynamically grenandesMin: 0, grenadesMax: 5); //TODO get dynamically
} }
public static void CalculateEquipmentChances(Bot bot, List<Datum> baseBots) public static void CalculateEquipmentChances(Bot bot, List<Datum> baseBots)