fix: SK RynthILT chunks only with the Lugian Aetheria Hammer

The tool match ' Lugian Hammer' picked a Flaming Lugian Hammer (loot weapon); every
aetheria got no result line, timed out into the skip list, and the status said
'nothing eligible'. Match the exact name, skip equipped items, show and log the
skipped ones, let a manual pass retry them, and treat the corrupted-item line that
names the hammer as a result. RynthILT 0.2.8.
This commit is contained in:
BlankenshipG 2026-10-15 08:50:36 -04:00
commit 68a7b2b451
4 changed files with 209 additions and 181 deletions

View file

@ -5,12 +5,38 @@ namespace RynthILT.Tests;
// The Lugian-hammer aetheria rules (Hub/IltChunkClap.cs): Infinite Leaftide aetheria goes up to
// level 10, and aetheria carrying a C, CD or CDR rating is kept unless its keep switch is off.
// Only the Lugian Aetheria Hammer chunks, and ILT's result lines name the item and the tool.
internal static class AetheriaChunkTests
{
public static void Register(Runner r)
{
r.Add("aetheria: the chunk cap runs to one past ILT's level 10", Cap);
r.Add("aetheria: C / CD / CDR ratings are kept by default, each with its own switch", Ratings);
r.Add("chunk: only the Lugian Aetheria Hammer is the tool, never a Lugian Hammer weapon", HammerOnly);
r.Add("chunk: ILT's result lines (item and tool named) end the wait; combat lines don't", ResultLines);
}
/// <summary>
/// Silentkelpie 2026-10-15: the Flaming Lugian Hammer (a loot weapon) matched " Lugian Hammer",
/// chunked nothing, and all 9 Coalesced Aetheria timed out into the skip list.
/// </summary>
private static void HammerOnly()
{
Check.True(IltChunkClap.IsChunkHammer("Lugian Aetheria Hammer"), "the ILT tool");
Check.True(IltChunkClap.IsChunkHammer("lugian aetheria hammer"), "any case");
Check.False(IltChunkClap.IsChunkHammer("Flaming Lugian Hammer"), "a loot weapon is not the tool");
Check.False(IltChunkClap.IsChunkHammer("Lugian Hammer"), "nor the plain one");
Check.False(IltChunkClap.IsChunkHammer("Acid Lugian Hammer"), "nor any variant");
}
private static void ResultLines()
{
Check.Eq(IltChunkClap.ClassifyChat("You smash the Corrupted Sword with the Lugian Aetheria Hammer."), IltChunkClap.ChunkResult.Done, "ILT corrupted line");
Check.Eq(IltChunkClap.ClassifyChat("You smash the aetheria with the hammer."), IltChunkClap.ChunkResult.Done, "aetheria line");
Check.Eq(IltChunkClap.ClassifyChat("The aetheria is too powerful to chunk."), IltChunkClap.ChunkResult.Refused, "refused");
Check.Eq(IltChunkClap.ClassifyChat("You're too busy!"), IltChunkClap.ChunkResult.Busy, "busy");
Check.Eq(IltChunkClap.ClassifyChat("You smash Corrupted Shadow for 147 points of bludgeoning damage!"), IltChunkClap.ChunkResult.None,
"a combat line naming a corrupted monster is no result");
}
private static void Cap()