diff --git a/Generator/BotChancesGenerator.cs b/Generator/BotChancesGenerator.cs index ed22a3d..2924749 100644 --- a/Generator/BotChancesGenerator.cs +++ b/Generator/BotChancesGenerator.cs @@ -32,6 +32,7 @@ namespace Generator GearChanceHelpers.AddGenerationChances(botToUpdate); GearChanceHelpers.CalculateModChances(botToUpdate, rawParsedBotOfCurrentType); GearChanceHelpers.ApplyModChanceOverrides(botToUpdate); + GearChanceHelpers.ApplyEquipmentChanceOverrides(botToUpdate); } stopwatch.Stop(); diff --git a/Generator/Helpers/Gear/GearChanceHelpers.cs b/Generator/Helpers/Gear/GearChanceHelpers.cs index ce27a98..6c8b406 100644 --- a/Generator/Helpers/Gear/GearChanceHelpers.cs +++ b/Generator/Helpers/Gear/GearChanceHelpers.cs @@ -82,6 +82,16 @@ namespace Generator.Helpers.Gear kvp => GetPercent(kvp.Value, modCounts.GetValueOrDefault(kvp.Key))); } + internal static void ApplyEquipmentChanceOverrides(Bot botToUpdate) + { + switch (botToUpdate.botType) + { + case BotType.bosstagilla: + botToUpdate.chances.equipment.Headwear = 100; + break; + } + } + public static void ApplyModChanceOverrides(Bot botToUpdate) { switch (botToUpdate.botType)