RynthCore as of 2026-11-15 (internal 32fec29): release 2026.11.15.3

This commit is contained in:
Tom Bohar 2026-11-15 22:31:58 -05:00
commit c7ef40224a
2 changed files with 16 additions and 1 deletions

View file

@ -33,6 +33,7 @@ namespace CombatSettingsTests
("EnvironmentSkipSec", typeof(int?), "30"),
("KitePullMeters", typeof(int?), "20"),
("KiteTagFirst", typeof(bool?), "true"),
("MeleeThroughWalls", typeof(bool?), "true"), // Combat > Targeting > Melee through walls (2026-11-15)
};
private static int Main()
@ -99,11 +100,12 @@ namespace CombatSettingsTests
("Combat", "Pull Distance (m)", "Int", 20, 3, 100),
("Combat", "Tag Before Fleeing", "Bool", 1, 0, 1),
("Combat", "Magic Response", "Combo", 0, 0, 3), // beside Missile Response since 2026-11-11
("Combat", "Melee through walls", "Bool", 1, 0, 1), // on by default (2026-11-15)
};
object older = Parse("{\"BoostNavPriority\":true}"); // what an older RynthAi sends
object newer = Parse("{\"VariablePowerMin\":50,\"VariablePowerMax\":100,\"MissileEnvironmentResponse\":0,\"MagicEnvironmentResponse\":0," +
"\"EnvironmentImpactLimit\":2,\"EnvironmentImpactWindowSec\":20,\"EnvironmentApproachMeters\":6,\"EnvironmentMinDistance\":3," +
"\"EnvironmentSkipSec\":30,\"KitePullMeters\":20,\"KiteTagFirst\":true}"); // the plugin's own defaults
"\"EnvironmentSkipSec\":30,\"KitePullMeters\":20,\"KiteTagFirst\":true,\"MeleeThroughWalls\":true}"); // the plugin's own defaults
foreach (var (tab, label, kind, def, min, max) in rows)
{
object? row = Row(tab, label, kind);
@ -141,7 +143,9 @@ namespace CombatSettingsTests
Set(Row("Combat", "Pull Distance (m)", "Int")!, edit, 55);
Set(Row("Combat", "Tag Before Fleeing", "Bool")!, edit, 1);
Set(Row("Combat", "Magic Response", "Combo")!, edit, 1);
Set(Row("Combat", "Melee through walls", "Bool")!, edit, 0);
string after = JsonSerializer.Serialize(edit, info);
Check(after.Contains("\"MeleeThroughWalls\":false"), "Melee through walls unticked saves false (RynthAi turns it off)");
Check(after.Contains("\"KitePullMeters\":55") && after.Contains("\"KiteTagFirst\":true") && after.Contains("\"MagicEnvironmentResponse\":1"), "the edits land on their own properties");
Check(after.Contains("\"BoostNavPriority\":true") && after.Contains("\"EnvironmentSkipSec\":60") && after.Contains("\"MissileEnvironmentResponse\":2"), "the other settings ride along unchanged");