From 1234c611c83986eb6a884e0b6a93bef4c0b5eaa7 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 2 Nov 2023 15:10:44 +0000 Subject: [PATCH] Fix halloween zryachiy not being peaceful --- project/Aki.Custom/Patches/IsEnemyPatch.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/project/Aki.Custom/Patches/IsEnemyPatch.cs b/project/Aki.Custom/Patches/IsEnemyPatch.cs index 584d469..d406755 100644 --- a/project/Aki.Custom/Patches/IsEnemyPatch.cs +++ b/project/Aki.Custom/Patches/IsEnemyPatch.cs @@ -41,6 +41,11 @@ namespace Aki.Custom.Patches [PatchPrefix] private static bool PatchPrefix(ref bool __result, BotsGroup __instance, IPlayer requester) { + if (__instance.InitialBotType == WildSpawnType.peacefullZryachiyEvent) + { + return true; // Do original code + } + var isEnemy = false; // default not an enemy if (requester == null) {