diff --git a/MosswartMassacre/CombatStatsTracker.cs b/MosswartMassacre/CombatStatsTracker.cs index a3aedc7..884400f 100644 --- a/MosswartMassacre/CombatStatsTracker.cs +++ b/MosswartMassacre/CombatStatsTracker.cs @@ -306,20 +306,46 @@ namespace MosswartMassacre return false; } - // ── Kill messages — reuse KillTracker patterns ── - private static readonly Regex[] _killPatterns; - - static CombatStatsTracker() + // ── Kill messages — same patterns as KillTracker ── + private static readonly Regex[] _killPatterns = new[] { - // Build compiled kill regexes from KillTracker's string patterns - var field = typeof(KillTracker).GetField("KillPatterns", - System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static); - string[] patterns = field?.GetValue(null) as string[] ?? Array.Empty(); - var list = new List(patterns.Length); - foreach (var p in patterns) - list.Add(new Regex(p, RegexOptions.Compiled)); - _killPatterns = list.ToArray(); - } + new Regex(@"^You flatten (?.+)'s body with the force of your assault!$", RegexOptions.Compiled), + new Regex(@"^You bring (?.+) to a fiery end!$", RegexOptions.Compiled), + new Regex(@"^You beat (?.+) to a lifeless pulp!$", RegexOptions.Compiled), + new Regex(@"^You smite (?.+) mightily!$", RegexOptions.Compiled), + new Regex(@"^You obliterate (?.+)!$", RegexOptions.Compiled), + new Regex(@"^You run (?.+) through!$", RegexOptions.Compiled), + new Regex(@"^You reduce (?.+) to a sizzling, oozing mass!$", RegexOptions.Compiled), + new Regex(@"^You knock (?.+) into next Morningthaw!$", RegexOptions.Compiled), + new Regex(@"^You split (?.+) apart!$", RegexOptions.Compiled), + new Regex(@"^You cleave (?.+) in twain!$", RegexOptions.Compiled), + new Regex(@"^You slay (?.+) viciously enough to impart death several times over!$", RegexOptions.Compiled), + new Regex(@"^You reduce (?.+) to a drained, twisted corpse!$", RegexOptions.Compiled), + new Regex(@"^Your killing blow nearly turns (?.+) inside-out!$", RegexOptions.Compiled), + new Regex(@"^Your attack stops (?.+) cold!$", RegexOptions.Compiled), + new Regex(@"^Your lightning coruscates over (?.+)'s mortal remains!$", RegexOptions.Compiled), + new Regex(@"^Your assault sends (?.+) to an icy death!$", RegexOptions.Compiled), + new Regex(@"^You killed (?.+)!$", RegexOptions.Compiled), + new Regex(@"^The thunder of crushing (?.+) is followed by the deafening silence of death!$", RegexOptions.Compiled), + new Regex(@"^The deadly force of your attack is so strong that (?.+)'s ancestors feel it!$", RegexOptions.Compiled), + new Regex(@"^(?.+)'s seared corpse smolders before you!$", RegexOptions.Compiled), + new Regex(@"^(?.+) is reduced to cinders!$", RegexOptions.Compiled), + new Regex(@"^(?.+) is shattered by your assault!$", RegexOptions.Compiled), + new Regex(@"^(?.+) catches your attack, with dire consequences!$", RegexOptions.Compiled), + new Regex(@"^(?.+) is utterly destroyed by your attack!$", RegexOptions.Compiled), + new Regex(@"^(?.+) suffers a frozen fate!$", RegexOptions.Compiled), + new Regex(@"^(?.+)'s perforated corpse falls before you!$", RegexOptions.Compiled), + new Regex(@"^(?.+) is fatally punctured!$", RegexOptions.Compiled), + new Regex(@"^(?.+)'s death is preceded by a sharp, stabbing pain!$", RegexOptions.Compiled), + new Regex(@"^(?.+) is torn to ribbons by your assault!$", RegexOptions.Compiled), + new Regex(@"^(?.+) is liquified by your attack!$", RegexOptions.Compiled), + new Regex(@"^(?.+)'s last strength dissolves before you!$", RegexOptions.Compiled), + new Regex(@"^Electricity tears (?.+) apart!$", RegexOptions.Compiled), + new Regex(@"^Blistered by lightning, (?.+) falls!$", RegexOptions.Compiled), + new Regex(@"^(?.+)'s last strength withers before you!$", RegexOptions.Compiled), + new Regex(@"^(?.+) is dessicated by your attack!$", RegexOptions.Compiled), + new Regex(@"^(?.+) is incinerated by your assault!$", RegexOptions.Compiled), + }; private bool TryParseKill(string text, string myName) { diff --git a/MosswartMassacre/bin/Release/MosswartMassacre.dll b/MosswartMassacre/bin/Release/MosswartMassacre.dll index 51f6b0b..733cff6 100644 Binary files a/MosswartMassacre/bin/Release/MosswartMassacre.dll and b/MosswartMassacre/bin/Release/MosswartMassacre.dll differ