mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-12 22:30:44 -05:00
Fixed incorrect traitor scav check
This commit is contained in:
parent
0564961c72
commit
4f0dad24e7
@ -31,7 +31,7 @@ namespace Aki.Custom.Patches
|
||||
}
|
||||
|
||||
WildSpawnType role = bot.Profile.Info.Settings.Role;
|
||||
if (AiHelpers.BotIsPlayerScav(role, bot.Profile.Info.Nickname) && new Random().Next(1, 100) > TraitorChancePercent)
|
||||
if (AiHelpers.BotIsPlayerScav(role, bot.Profile.Info.Nickname) && new Random().Next(1, 100) < TraitorChancePercent)
|
||||
{
|
||||
Logger.LogInfo($"Making {bot.name} ({bot.Profile.Nickname}) hostile to player");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user