update deferstopattack

This commit is contained in:
Jrc13245
2026-03-07 11:04:18 -05:00
parent 5c67b52c4e
commit 46c3f3a07c
+3
View File
@@ -93,6 +93,7 @@ _DeferStopFrame:SetScript("OnUpdate", function()
else
TargetUnit(_deferRetargetGUID)
_deferRetargetDone = true
_deferRetargetGUID = nil
_deferStopActive = false
_DeferStopFrame:Hide()
end
@@ -108,6 +109,8 @@ function CleveRoids.DeferStopAttack()
CleveRoids.CurrentSpell.autoAttackLock = false
_deferRetargetGUID = CleveRoids.GetGUID("target")
_deferRetargetDone = false
AttackTarget()
ClearTarget()
_deferStopActive = true
_DeferStopFrame:Show()
end