Buff order priority, unusable-buff filter, Force Buff button and /ra buff
- Life Magic Mastery joins Creature Enchantment Mastery, Focus and Willpower at the head of the buff list (all four raise casting skill or mana); the rest keeps its order. - A mastery for an untrained skill is never cast. - New setting SkipUnusableBuffs (default on; profile, bridge, copy, settings map, UI) leaves out the weapon enchantments the character has no use for: Blood Drinker / Heart Seeker / Swift Killer without a melee or missile weapon (listed or in hand), Spirit Drinker / Hermetic Link without a wand (listed, in hand, or the pack wand buffing would wield when WieldUnlistedWandWhenNoneListed is on), Defender without either. Unclassifiable listed items filter nothing; no cache means no filtering; ammo is no weapon. The weapon kit is cached for 1 s and rebuilt when the Items list, the unlisted-wand setting or the cache changes. - Skipped buffs are reported once per run (Force Rebuff or the automatic batch), grouped by reason and capped at 5 names per reason, printed when the content changes or every 30 s, in chat and the log, in /ra buff skipped, and on the Buffing settings page. - Force Buff and Cancel buttons on the Buffing settings page, and /ra buff force|cancel|skipped, both reusing the existing queued Force Rebuff request (FR button, /ra forcebuff). Tests: priority order, force suite vs idle, skill and weapon filters (pack wand, wielded weapons, ammo, unclassified items), visibility, the setting, and the /ra buff command handler. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1643835c7c
commit
36565dca33
8 changed files with 737 additions and 9 deletions
|
|
@ -3597,6 +3597,7 @@ internal sealed class ExpressionEngine
|
|||
["RebuffTopOffSecondsRemaining"] = (() => I(s.RebuffTopOffSecondsRemaining), v => { if (int.TryParse(v, out int i)) s.RebuffTopOffSecondsRemaining = i; }),
|
||||
["CastBuffsOverItemBuffs"] = (() => B(s.CastBuffsOverItemBuffs), v => s.CastBuffsOverItemBuffs = ToDouble(v) != 0),
|
||||
["FastBuffChain"] = (() => B(s.FastBuffChain), v => s.FastBuffChain = ToDouble(v) != 0),
|
||||
["SkipUnusableBuffs"] = (() => B(s.SkipUnusableBuffs), v => s.SkipUnusableBuffs = ToDouble(v) != 0),
|
||||
// AutoVendor (UB names map here through /ub opt: AutoVendor.Enabled -> AutoVendorEnabled, ...)
|
||||
["AutoVendorEnabled"] = (() => B(s.AutoVendorEnabled), v => s.AutoVendorEnabled = ToDouble(v) != 0),
|
||||
["AutoVendorEnableBuying"] = (() => B(s.AutoVendorEnableBuying), v => s.AutoVendorEnableBuying = ToDouble(v) != 0),
|
||||
|
|
|
|||
Loading…
Reference in a new issue