Стиратель снят из кода (наработки отложены для дронов магов)

Подмешивание в орду было выключено 10.10: в кровавый прилив змеи нет, античит
не нужен. Убраны EraserPatch.cs, сущность zombieEraser, бафф свечения, строка
локализации, отброс змеи взрывом и текстуры Resources/Eraser. В выпущенных
версиях Стирателя не было - сейвы игроков не затронуты.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
AlexCube
2026-10-12 11:26:04 +03:00
co-authored by Claude Opus 5.5
parent 8b8d1d0feb
commit 47a4b345af
11 changed files with 2 additions and 373 deletions
+1 -9
View File
@@ -77,9 +77,6 @@ namespace NecromancerTome
/// светятся сильнее обычного; плотнее и крупнее, чем у девиантов.</summary>
public static readonly GlowConfig SnakeSightGlow = new GlowConfig { Tint = new Color(1.1f, 1.5f, 0.15f), SizeFactor = 0.4f, AlphaFactor = 1f, DensityFactor = 3f };
public const string SnakeSightBuffName = "buffNecroSnakeSight";
/// <summary>«Стиратель» (02.10): маджента - этим цветом зомби больше никто не светится.</summary>
public static readonly GlowConfig EraserGlow = new GlowConfig { Tint = new Color(1f, 0.1f, 0.65f), SizeFactor = 0.4f, AlphaFactor = 1f, DensityFactor = 3f };
public const string EraserBuffName = "buffNecroEraser";
public static readonly GlowConfig PortalChannelGlow = new GlowConfig { Tint = new Color(0.1f, 0.85f, 0.8f), SizeFactor = 0.9f, AlphaFactor = 0.9f, DensityFactor = 5f };
public static void Postfix(MinEventActionAttachParticleEffectToEntity __instance, MinEventParams _params)
@@ -100,8 +97,7 @@ namespace NecromancerTome
bool isVictim = entity.Buffs.HasBuff(Patch_EntityAlive_dropItemOnDeath_VictimBag.VictimBuffName);
bool isCharm = entity.Buffs.HasBuff(Patch_EntityBuffs_AddBuff_DeviatorCharm.CharmBuffName);
bool isSnakeSight = entity.Buffs.HasBuff(SnakeSightBuffName);
bool isEraser = entity.Buffs.HasBuff(EraserBuffName);
if (!isPortalChannel && !isVictim && !isCharm && !isSnakeSight && !isEraser)
if (!isPortalChannel && !isVictim && !isCharm && !isSnakeSight)
{
return;
}
@@ -113,10 +109,6 @@ namespace NecromancerTome
{
config = PortalChannelGlow;
}
else if (isEraser)
{
config = EraserGlow;
}
else if (isSnakeSight)
{
config = SnakeSightGlow;