mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 02:30:44 -05:00
Make culists use original function when picking enemies so Cultist amulet from lightkeeper works
This commit is contained in:
parent
4f0dad24e7
commit
6f78f23cde
@ -22,7 +22,11 @@ namespace Aki.Custom.Patches
|
||||
[PatchPrefix]
|
||||
private static bool PatchPrefix(ref bool __result, BotsGroup __instance, IPlayer requester)
|
||||
{
|
||||
if (__instance.InitialBotType == WildSpawnType.peacefullZryachiyEvent || __instance.InitialBotType == WildSpawnType.shooterBTR || __instance.InitialBotType == WildSpawnType.gifter)
|
||||
if (__instance.InitialBotType == WildSpawnType.peacefullZryachiyEvent
|
||||
|| __instance.InitialBotType == WildSpawnType.shooterBTR
|
||||
|| __instance.InitialBotType == WildSpawnType.gifter
|
||||
|| __instance.InitialBotType == WildSpawnType.sectantWarrior
|
||||
|| __instance.InitialBotType == WildSpawnType.sectantPriest)
|
||||
{
|
||||
return true; // Do original code
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user