diff --git a/HarmonySrc/SummonPatch.cs b/HarmonySrc/SummonPatch.cs index 15f5c2b..e6afb5a 100644 --- a/HarmonySrc/SummonPatch.cs +++ b/HarmonySrc/SummonPatch.cs @@ -285,6 +285,12 @@ namespace NecromancerTome public static bool Prefix(ItemActionSpawnEntity __instance, ItemActionData _actionData) { summonAllowedThisCall = false; + // Плевок одержимого ранчера - тоже Рой фараона, и тоже второе действие оружия: без этой строки он шёл + // сюда как «вселиться в питомца» и гасился (13.10: «ранчер не плюётся жуками»). Не призыв игрока. + if (Possession.IsPossessed(_actionData?.invData?.holdingEntity)) + { + return true; + } if (!LimitedPets.TryGetValue(__instance.entityToSpawn, out PetInfo tooltips)) { return true; diff --git a/NecromancerHarmony.dll b/NecromancerHarmony.dll index 7fd4b5c..36ce62d 100644 Binary files a/NecromancerHarmony.dll and b/NecromancerHarmony.dll differ diff --git a/NecromancerHarmony.pdb b/NecromancerHarmony.pdb index 783b751..4bbaf38 100644 Binary files a/NecromancerHarmony.pdb and b/NecromancerHarmony.pdb differ