diff --git a/Libraries/SPTarkov.Server.Assets/Assets/database/bots/types/assault.json b/Libraries/SPTarkov.Server.Assets/Assets/database/bots/types/assault.json index 65e58290..7174dfaf 100644 --- a/Libraries/SPTarkov.Server.Assets/Assets/database/bots/types/assault.json +++ b/Libraries/SPTarkov.Server.Assets/Assets/database/bots/types/assault.json @@ -2140,8 +2140,8 @@ "min": -1 }, "normal": { - "max": 20, - "min": 20 + "max": -1, + "min": -1 } }, "standingForKill": { diff --git a/Libraries/SPTarkov.Server.Core/Generators/BotGenerator.cs b/Libraries/SPTarkov.Server.Core/Generators/BotGenerator.cs index 6ea1b503..5bb9788a 100644 --- a/Libraries/SPTarkov.Server.Core/Generators/BotGenerator.cs +++ b/Libraries/SPTarkov.Server.Core/Generators/BotGenerator.cs @@ -328,6 +328,14 @@ public class BotGenerator( return _randomUtil.GetInt(experiences["normal"].Min, experiences["normal"].Max); } + // Some bots have -1/-1, shortcut result + + + if (result.Max == -1) + { + return -1; + } + return _randomUtil.GetInt(result.Min, result.Max); }