mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
Add priest shadowform auto-paging, sharing the druid-stealth flag
Mirror the druid-stealth page switch for priests: swap to the auto page (8) while in Shadowform, back to the default page when it drops. Driven by UPDATE_SHAPESHIFT_FORM (form ID 28), which fully covers shadowform on its own -- no prowl-style stealth substate to chase. Fold the new state into the existing prowl machinery instead of duplicating it: prowl/shadowform are mutually exclusive by class, so one shared `formpaging` flag and one page constant serve both, and the OnUpdate switch collapses to a single class-gated block.
This commit is contained in:
@@ -2575,6 +2575,7 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(U["bars"], T["Switch Pages On Shift Key Press"], C.bars, "pagemastershift", "checkbox")
|
||||
CreateConfig(U["bars"], T["Switch Pages On Ctrl Key Press"], C.bars, "pagemasterctrl", "checkbox")
|
||||
CreateConfig(U["bars"], T["Switch Pages On Druid Stealth"], C.bars, "druidstealth", "checkbox")
|
||||
CreateConfig(U["bars"], T["Switch Pages On Priest Shadowform"], C.bars, "priestshadow", "checkbox")
|
||||
CreateConfig(nil, T["Range Based Hunter Paging"], C.bars, "hunterbar", "checkbox", nil, nil, nil, nil)
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user