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:
Meow
2026-02-16 14:20:31 +01:00
parent 3cf64ceffd
commit def000a7c4
6 changed files with 477 additions and 488 deletions
+1 -1
View File
@@ -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