Релиз 1.6.2: призрачный вид только у торговцев игры (NPC других модов, напр. NPCCore, больше не полупрозрачные)

От 1.6.1 отличается одной строкой кода (GhostTraderPatch.ShouldBeGhost: точный класс EntityTrader) и
документами. DLL собрана из этих исходников против игры 3.3; разбор DLL сверен с выпущенной 1.6.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
AlexCube
2026-10-17 00:26:13 +03:00
co-authored by Claude Opus 5.5
parent 16a1eac52c
commit 17194c652d
9 changed files with 17 additions and 9 deletions
+3 -1
View File
@@ -319,7 +319,9 @@ namespace NecromancerTome
{
if (_entity is EntityTrader)
{
return true;
// Только торговцы самой игры (класс EntityTrader). 16.10 (Nexus, Crozekanov): NPC мода NPCCore построены на
// наследнике EntityTrader и тоже становились призраками - «практически невидимыми».
return _entity.GetType() == typeof(EntityTrader);
}
EntityClass entityClass = EntityClass.list[_entity.entityClass];
if (entityClass == null || entityClass.entityClassName == null)