BotGenerator/Generator/BotChancesGenerator.cs

23 lines
730 B
C#
Raw Permalink Normal View History

2023-09-18 17:15:30 +01:00
using Generator.Helpers.Gear;
using Common.Models.Input;
using Common.Models.Output;
using System.Diagnostics;
2023-08-21 16:32:20 +01:00
using Generator.Weighting;
namespace Generator
{
2021-09-01 19:19:44 +03:00
public static class BotChancesGenerator
{
public static void AddChances(Bot botToUpdate, Datum rawBot)
{
2023-08-21 16:32:20 +01:00
var weightHelper = new WeightingService();
// TODO: Add check to make sure incoming bot list has gear
GearChanceHelpers.AddEquipmentChances(botToUpdate, rawBot);
GearChanceHelpers.AddGenerationChances(botToUpdate, weightHelper);
GearChanceHelpers.AddModChances(botToUpdate, rawBot);
GearChanceHelpers.AddEquipmentModChances(botToUpdate, rawBot);
}
}
2023-09-18 17:15:30 +01:00
}