From 83c6be241dac3931ff2a3958d4498aded1b4c1c2 Mon Sep 17 00:00:00 2001 From: AlexCube Date: Tue, 13 Oct 2026 18:19:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=83=D0=BC=D0=BA=D0=B0=20=D0=B7=D0=BE?= =?UTF-8?q?=D0=BC=D0=B1=D0=B8:=20=D0=B2=D1=8B=D0=B1=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B5=D0=BD=D0=BD=D0=BE=D0=B5=20=D0=B8=D0=B7=20=D0=BE=D0=BA?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BF=D0=B0=D0=B4=D0=B0=D0=B5=D1=82=20=D1=83=20?= =?UTF-8?q?=D0=B7=D0=BE=D0=BC=D0=B1=D0=B8,=20=D0=B0=20=D0=BD=D0=B5=20?= =?UTF-8?q?=D1=83=20=D1=82=D0=B5=D0=BB=D0=B0;=20=D0=BA=D0=BD=D0=BE=D0=BF?= =?UTF-8?q?=D0=BA=D0=B8=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BD=D0=BE=D1=81=D0=B0?= =?UTF-8?q?=20=D0=B2=20=D1=80=D1=8E=D0=BA=D0=B7=D0=B0=D0=BA=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=B1=D0=BB=D0=BE=D0=BA=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D1=8B,=20=D0=BA=D0=B0=D0=BA=20=D1=83=20=D0=B2=D0=BE=D0=BB?= =?UTF-8?q?=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- HarmonySrc/WolfBag.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/HarmonySrc/WolfBag.cs b/HarmonySrc/WolfBag.cs index fb59687..d61e2f3 100644 --- a/HarmonySrc/WolfBag.cs +++ b/HarmonySrc/WolfBag.cs @@ -677,7 +677,7 @@ namespace NecromancerTome public static bool Blocked(XUiController _c) { - return WolfBag.WindowOpen && Possession.Active && _c?.GetParentByType() != null; + return (WolfBag.WindowOpen || ZombieBag.WindowOpen) && Possession.Active && _c?.GetParentByType() != null; } } @@ -721,7 +721,8 @@ namespace NecromancerTome public static void Postfix(EntityPlayerLocal __instance, ref Vector3 __result) { EntityAlive wolf = Possession.Zombie; - if (WolfBag.WindowOpen && Possession.Active && __instance == Possession.Player && wolf != null) + // И из сумки одержимого зомби (тест 13.10: «выкидываю камень - на землю не падает» - падал у тела). + if ((WolfBag.WindowOpen || ZombieBag.WindowOpen) && Possession.Active && __instance == Possession.Player && wolf != null) { __result = wolf.position + wolf.GetForwardVector() * 0.8f + Vector3.up * 0.5f; }