mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
bleed immunity, fix icons and their tooltips with no available actions, reformat readme
This commit is contained in:
+9
-3
@@ -1278,11 +1278,17 @@ function CleveRoids.GetActionButtonInfo(slot)
|
||||
end
|
||||
|
||||
function CleveRoids.IsReactiveUsable(spellName)
|
||||
-- First check combat log-based proc tracking (works across stances)
|
||||
if CleveRoids.HasReactiveProc and CleveRoids.HasReactiveProc(spellName) then
|
||||
return 1
|
||||
-- For Overpower, Revenge, and Riposte: ONLY use combat log tracking
|
||||
-- These spells have specific proc conditions tracked via combat log
|
||||
if spellName == "Overpower" or spellName == "Revenge" or spellName == "Riposte" then
|
||||
if CleveRoids.HasReactiveProc and CleveRoids.HasReactiveProc(spellName) then
|
||||
return 1
|
||||
else
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
-- For other reactive spells, use fallback methods
|
||||
-- Use Nampower's IsSpellUsable if available (more accurate)
|
||||
if IsSpellUsable then
|
||||
local usable, oom = IsSpellUsable(spellName)
|
||||
|
||||
Reference in New Issue
Block a user