no superwow required, update for nampower 3

This commit is contained in:
Jrc13245
2026-03-01 09:33:41 -05:00
parent 58c7ab8457
commit 2f0f000733
7 changed files with 934 additions and 309 deletions
+3 -3
View File
@@ -340,7 +340,7 @@ local function HookJudgementDetection()
if event ~= "CAST" or spellID ~= JUDGEMENT_SPELL_ID then return end
-- Check if it's the player casting
local _, playerGuid = UnitExists("player")
local playerGuid = CleveRoids.GetGUID("player")
if casterGuid ~= playerGuid then return end
-- Detect which seal is active and get full judgement info
@@ -448,7 +448,7 @@ meleeRefreshFrame:SetScript("OnEvent", function()
-- Check if current target matches the hit target
local currentTargetName = UnitName("target")
if currentTargetName and currentTargetName == targetName then
local _, targetGuid = UnitExists("target")
local targetGuid = CleveRoids.GetGUID("target")
if targetGuid then
RefreshJudgementsOnTarget(targetGuid)
end
@@ -465,7 +465,7 @@ meleeAbilityFrame:SetScript("OnEvent", function()
if event ~= "CAST" then return end
-- Check if it's the player casting
local _, playerGuid = UnitExists("player")
local playerGuid = CleveRoids.GetGUID("player")
if casterGuid ~= playerGuid then return end
-- Skip Judgement itself (20271) - it applies, doesn't refresh