mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 20:50:01 +00:00
shapeshift cancel via CancelShapeshiftForm
Replaces autoshift's Phase 2 (form-ID → texture lookup → buff iteration → CancelPlayerBuff(bid)) with a single CancelShapeshiftForm() call. The implementation in ClassicAPI walks the buff slots and matches via Spell.dbc effect arrays itself, so we don't have to maintain a form-ID → texture map on the Lua side. Drops pfUI.autoshift.shapeshifts entirely (no longer consulted) and the turtle-wow.lua block that conditionally appended Tree of Life / Stag Form textures — Turtle's added DBC rows (form IDs 9 and 11) are handled natively by the same scan.
This commit is contained in:
@@ -184,12 +184,6 @@ pfUI:RegisterModule("turtle-wow", "vanilla", function ()
|
||||
end
|
||||
end
|
||||
|
||||
-- add druids tree of life and fast travel form to autoshift
|
||||
if pfUI.autoshift then
|
||||
table.insert(pfUI.autoshift.shapeshifts, "ability_druid_treeoflife")
|
||||
table.insert(pfUI.autoshift.shapeshifts, "ability_druid_stagform")
|
||||
end
|
||||
|
||||
-- apply chat styles to hardcore chat
|
||||
if pfUI.chat and pfUI.chat.left then
|
||||
-- read and parse chat bracket settings
|
||||
|
||||
Reference in New Issue
Block a user