Files
necromants-tome-7d2d-3-2/HarmonySrc/NecroChallenges.cs
T
AlexCubeandClaude Opus 5.5 cb2a4f19b4 Девять новых испытаний некромантии
Вселиться в зомби и в своего питомца, подорвать одержимого копа, 25 убийств
змеёй, войти в чертоги (ChallengeStatAwarded: счёт шлёт NecroChallenges.cs),
найти череп (Gather), сок чёрной розы, мод «Мёртвая буря», гримуар медведя
(Craft). Тексты намёком, 13 языков.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 11:39:01 +03:00

23 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace NecromancerTome
{
/// <summary>
/// Испытания вкладки «Некромантия» на действия, а не на крафт (12.10.2026): код мода засчитывает
/// событие, игра ведёт счёт сама - цель challenges.xml type="ChallengeStatAwarded" с тем же
/// challenge_stat (как ванильное «попить из озера» - AwardChallenge drinkwater). Счёт - у локального
/// игрока (QuestEventManager.Current), поэтому звать там, где действие делает он сам.
/// </summary>
public static class NecroChallenges
{
public const string PossessZombie = "necroStatPossessZombie";
public const string PossessPet = "necroStatPossessPet";
public const string LivingBomb = "necroStatLivingBomb";
public const string SnakeKill = "necroStatSnakeKill";
public const string MindPalace = "necroStatMindPalace";
public static void Award(string _stat, int _count = 1)
{
QuestEventManager.Current?.ChallengeAwardCredited(_stat, _count);
}
}
}