RynthSuite as of 2026-10-05 evening (internal a078b8e): release 2026.10.5.20 - healing delay fixes, stuck-cast safeguards, buffs over items, slayers recognised and chosen first, recover my corpse, /ub give and /mt give, Mana Tap skips wands, dungeon floor-plan bake, heal latency log
This commit is contained in:
parent
53438c65c1
commit
6847868401
60 changed files with 6361 additions and 769 deletions
|
|
@ -38,6 +38,7 @@ internal static partial class Program
|
|||
TestAddJsonInsert(crlf: false);
|
||||
TestAddJsonInsert(crlf: true);
|
||||
TestAddJsonEdgeCases();
|
||||
TestAddBuiltInReasonWire();
|
||||
TestAddDeployedCopies(args);
|
||||
}
|
||||
finally
|
||||
|
|
@ -46,6 +47,20 @@ internal static partial class Program
|
|||
}
|
||||
}
|
||||
|
||||
// The popup's "why RynthAi takes it anyway" (2026-10-05): on the wire next to OrderNote,
|
||||
// and a payload from a RynthAi without it reads as empty.
|
||||
private static void TestAddBuiltInReasonWire()
|
||||
{
|
||||
Console.WriteLine("\n-- LootAdd: built-in keep reason on the wire --");
|
||||
var st = new LootEditState { ItemDraft = new LootEditItemDraft { Seq = 3, OrderNote = "Goes in at the end. Why.", BuiltInReason = "Why." } };
|
||||
string json = System.Text.Json.JsonSerializer.Serialize(st, LootEditJsonContext.Default.LootEditState);
|
||||
LootEditState? back = System.Text.Json.JsonSerializer.Deserialize(json, LootEditJsonContext.Default.LootEditState);
|
||||
Eq(back?.ItemDraft?.BuiltInReason, "Why.", "BuiltInReason round-trips");
|
||||
Eq(back?.ItemDraft?.OrderNote, "Goes in at the end. Why.", "OrderNote too");
|
||||
LootEditState? old = System.Text.Json.JsonSerializer.Deserialize("{\"ItemDraft\":{\"Seq\":1,\"OrderNote\":\"x\"}}", LootEditJsonContext.Default.LootEditState);
|
||||
Eq(old?.ItemDraft?.BuiltInReason, "", "an older RynthAi's draft: empty");
|
||||
}
|
||||
|
||||
private static string AddFile(string name, byte[] bytes)
|
||||
{
|
||||
string path = Path.Combine(_addDir, name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue