mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-10 23:50:01 +00:00
Refactoring: Nampower Integration & SuperWoW Cleanup
* Replaced SuperWoW GUID with native Turtle WoW GUID in focus system * Added memoization API for `/pfcast` and `/castfocus` performance boost * Moved Druid mana bar from superwow.lua to nampower.lua * Cleaned up superwow.lua - removed duplicate/migrated code * Updated GUI: "Druid Settings" replaces "SuperWoW Settings" header * Focus system now standalone - no SuperWoW dependency required
This commit is contained in:
@@ -34,7 +34,7 @@ pfUI:RegisterModule("mouseover", "vanilla", function ()
|
||||
_G.SLASH_PFCAST1, _G.SLASH_PFCAST2 = "/pfcast", "/pfmouse"
|
||||
function SlashCmdList.PFCAST(msg)
|
||||
local restore_target = true
|
||||
local func = loadstring(msg or "")
|
||||
local func = pfUI.api.TryMemoizedFuncLoadstringForSpellCasts(msg)
|
||||
local unit = "mouseover"
|
||||
|
||||
if not UnitExists(unit) then
|
||||
|
||||
Reference in New Issue
Block a user