diff --git a/Libraries/SPTarkov.Server.Core/Generators/BotGenerator.cs b/Libraries/SPTarkov.Server.Core/Generators/BotGenerator.cs index 1fac76df..ad281764 100644 --- a/Libraries/SPTarkov.Server.Core/Generators/BotGenerator.cs +++ b/Libraries/SPTarkov.Server.Core/Generators/BotGenerator.cs @@ -328,14 +328,14 @@ public class BotGenerator( /// Standing change value protected double GetStandingChangeForKillByDifficulty(Dictionary standingsForKill, string botDifficulty, string role) { - if (!standingsForKill.TryGetValue(botDifficulty.ToLowerInvariant(), out var result)) + if (standingsForKill.TryGetValue(botDifficulty.ToLowerInvariant(), out var result)) { - logger.Warning($"Unable to find standing for kill value for: {role} {botDifficulty}, falling back to `normal`"); - - return standingsForKill["normal"]; + return result; } - return result; + logger.Debug($"Unable to find 'standing for kill' value for: {role} {botDifficulty}, using `normal` value"); + + return standingsForKill["normal"]; } /// @@ -347,14 +347,14 @@ public class BotGenerator( /// Standing change value protected double GetAggressorBonusByDifficulty(Dictionary aggressorBonuses, string botDifficulty, string role) { - if (!aggressorBonuses.TryGetValue(botDifficulty.ToLowerInvariant(), out var result)) + if (aggressorBonuses.TryGetValue(botDifficulty.ToLowerInvariant(), out var result)) { - logger.Warning($"Unable to find aggressor bonus for kill value for: {role} {botDifficulty}, falling back to `normal`"); - - return aggressorBonuses["normal"]; + return result; } - return result; + logger.Debug($"Unable to find 'aggressor bonus for kill' value for: {role} {botDifficulty}, using `normal` value"); + + return aggressorBonuses["normal"]; } ///