RynthSuite/Tools
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Wallace 7cbc6fdca9 RynthAi: monster rule Priority 0 means never attacked
A monster whose applicable rule (its own row, else Default) has Priority <= 0
is dropped in ScanNearbyTargets before the LOS check, so it is never a target
(acquire, re-lock, kill-shot alternate, next pick) and is not counted by any
consumer of the scan list or the no-LOS count: HasTargets, HasNearbyMonsters,
HasEngageableTarget, HasCloseThreat, IsUnderCloseAttack (nav hold, combat
entry, stance, buff/rest, loot starvation, corpse gates, pets). An active
target that becomes ignored is dropped at once. There is no exception for a
Priority 0 monster that attacks the player; the HP failsafe still protects
the player.

Combat hook: ctx.monsters (RynthAi.Combat GetScanned) reads the same scan
list, so an ignored monster is left out of it, even while it hits us, and
ScriptAttackProblem rejects a script answer at a Priority 0 target before the
fight-target match (a fight target whose rule changed to 0 is still the
active target until Think drops it), so RynthAi casts its own choice.
ScriptHealProblem rejects a script heal (a drain) at one the same way
(CombatManager.IsIgnored).

MonsterEditor: the P column shows "ign" for 0 and carries a tooltip on the
header, cell and editor. README documents monster rules.

Tests: IgnoreMonsterTests, a loot-starvation case in LootCorpseTests, and two
CombatHookTests (ctx.monsters leaves out an ignored monster; a script answer
at one is rejected, both even while it hits us; a script heal at a fight target
turned to Priority 0 is rejected).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 17:34:34 -07:00
..
RynthCore.AutoVendorTests Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
RynthCore.CreatureSeed RynthSuite as of 2026-09-05 (internal a5ff5c2) 2026-09-25 21:23:05 -04:00
RynthCore.DatReaderCheck 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 2026-10-05 14:59:43 -04:00
RynthCore.LootEditor Snapshot for release 2026.10.7.2 (internal caaf7ea) 2026-10-07 13:13:36 -04:00
RynthCore.LootSdkTests Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
RynthCore.LosProof RynthSuite as of 2026-10-04 (internal c94715f): RynthOracle (based on Oracle of Dereth by Advis Eveldan) and RynthInventory, RynthAi patrol doorways and rooms, healing priority, strict monster priority, finish the wounded target, slayer weapons, arcs when clear, blasts like rings, learn unknown spells, looting fixes, release 2026.10.4.6 2026-10-04 18:34:29 -04:00
RynthCore.MissileArcTests RynthSuite as of 2026-10-04 (internal c94715f): RynthOracle (based on Oracle of Dereth by Advis Eveldan) and RynthInventory, RynthAi patrol doorways and rooms, healing priority, strict monster priority, finish the wounded target, slayer weapons, arcs when clear, blasts like rings, learn unknown spells, looting fixes, release 2026.10.4.6 2026-10-04 18:34:29 -04:00
RynthCore.MonsterEditor RynthAi: monster rule Priority 0 means never attacked 2026-10-12 17:34:34 -07:00
RynthCore.PatrolProof Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
RynthCore.RynthAiHostTests RynthAi: monster rule Priority 0 means never attacked 2026-10-12 17:34:34 -07:00
RynthCore.RynthAiTests Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
RynthCore.TrackerSessionTests Snapshot for release 2026.10.7.1 (internal 2a9c773) 2026-10-07 12:54:26 -04:00
RynthILT.Tests Snapshot for release 2026.10.11.1 (internal d20160b) 2026-10-11 15:00:56 -04:00
RynthInventory.Tests Snapshot for release 2026.10.9.3 (internal 8c6b770) 2026-10-09 21:42:40 -04:00
RynthLua.CompatTests RynthAi.Combat v1: let a RynthLua script choose RynthAi's attack and heal spells 2026-10-12 06:51:31 -07:00
RynthLua.ScriptWindowsTests RynthAi.Combat v1: let a RynthLua script choose RynthAi's attack and heal spells 2026-10-12 06:51:31 -07:00
RynthNav.Baker Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
RynthNav.GraphTests Snapshot for release 2026.10.6.1 (internal bd2f068) 2026-10-06 08:47:11 -04:00
RynthNav.PortalGraph RynthSuite as of 2026-10-04 (internal c94715f): RynthOracle (based on Oracle of Dereth by Advis Eveldan) and RynthInventory, RynthAi patrol doorways and rooms, healing priority, strict monster priority, finish the wounded target, slayer weapons, arcs when clear, blasts like rings, learn unknown spells, looting fixes, release 2026.10.4.6 2026-10-04 18:34:29 -04:00
RynthNav.RouteTests Snapshot for release 2026.10.8.1 (internal f3d67ec) 2026-10-08 17:29:51 -04:00
RynthNav.TownNet RynthSuite as of 2026-10-04 (internal c94715f): RynthOracle (based on Oracle of Dereth by Advis Eveldan) and RynthInventory, RynthAi patrol doorways and rooms, healing priority, strict monster priority, finish the wounded target, slayer weapons, arcs when clear, blasts like rings, learn unknown spells, looting fixes, release 2026.10.4.6 2026-10-04 18:34:29 -04:00
RynthOracle.QuestPackGen RynthSuite as of 2026-10-04 (internal c94715f): RynthOracle (based on Oracle of Dereth by Advis Eveldan) and RynthInventory, RynthAi patrol doorways and rooms, healing priority, strict monster priority, finish the wounded target, slayer weapons, arcs when clear, blasts like rings, learn unknown spells, looting fixes, release 2026.10.4.6 2026-10-04 18:34:29 -04:00
RynthOracle.Tests RynthSuite as of 2026-10-04 (internal c94715f): RynthOracle (based on Oracle of Dereth by Advis Eveldan) and RynthInventory, RynthAi patrol doorways and rooms, healing priority, strict monster priority, finish the wounded target, slayer weapons, arcs when clear, blasts like rings, learn unknown spells, looting fixes, release 2026.10.4.6 2026-10-04 18:34:29 -04:00
RynthSort.Tests Snapshot for release 2026.10.12.1 (internal 8d252bd) 2026-10-12 00:33:13 -04:00
gen-ammo-recipes.py RynthSuite as of 2026-09-26 (internal 55483fb): metaf Not, crafting from the world database (Prismatic first), heal stall fix, use hints 2026-09-26 23:15:37 -04:00
Run-RynthAiTests.ps1 RynthSuite as of 2026-10-04 (internal c94715f): RynthOracle (based on Oracle of Dereth by Advis Eveldan) and RynthInventory, RynthAi patrol doorways and rooms, healing priority, strict monster priority, finish the wounded target, slayer weapons, arcs when clear, blasts like rings, learn unknown spells, looting fixes, release 2026.10.4.6 2026-10-04 18:34:29 -04:00