Vitals: hand combat the tick when no heal is landing in a fight #26
Loading…
Reference in a new issue
No description provided.
Delete branch "AwfulWaffle/RynthSuite:heal-hold"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacks on heal-grace (#25): review/apply that first.
What went wrong in play
A melee character with a shield went to Buffing at 48% health and stopped attacking the boss. It stood there for 17 s re-sending a healing kit the server no longer had, then died. Health under a heal line wins the arbiter's tick by itself (
WantsVitalRecharge). That is right while heals land and wrong when none does: nothing healed, and nothing fought either.The fix
Combat/BuffManager.HealHold.cs(new), wired intoOnHeartbeat,WantsVitalRechargeandCheckVitals:InCombatNow), 6 s under a heal line with no heal landing hands combat the tick for 5 s. After that the vitals hold it again.NoteKitProgress, which is why this stacks on heal-grace (#25));How it was tested
Run from
Tools\RynthCore.RynthAiHostTestson this branch (heal-grace (#25) plus this):The one failure is
map bake: 0x6346 ..., the same one pristine main has (1494/1495).New tests:
HealHoldTests(6):Checked against deliberately broken code:
Scope and risk
AttemptStaminaKitUse. On the vital-wand-gate (#28) branch that method becomesAttemptStaminaKit(bool ignoreMinSuccess, out bool underMinSuccess). Applying both gives one conflict hunk there. The resolution keeps both changes:All four branches applied together with that resolution build, and the host tests give 1534 tests, 1533 passed, with only
map bakefailing.🤖 Generated with Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.