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:
Brues
2026-05-21 10:31:25 -05:00
parent 0fead7d696
commit 0e0a3f3688
2 changed files with 5 additions and 36 deletions
-6
View File
@@ -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