From 6f78f23cde64b8344dbdff4d71c616b4c5a9d9ae Mon Sep 17 00:00:00 2001 From: Kaeno Date: Tue, 13 Feb 2024 19:15:54 +0000 Subject: [PATCH] Make culists use original function when picking enemies so Cultist amulet from lightkeeper works --- project/Aki.Custom/Patches/IsEnemyPatch.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/project/Aki.Custom/Patches/IsEnemyPatch.cs b/project/Aki.Custom/Patches/IsEnemyPatch.cs index 321db18..462adaf 100644 --- a/project/Aki.Custom/Patches/IsEnemyPatch.cs +++ b/project/Aki.Custom/Patches/IsEnemyPatch.cs @@ -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 }