fix nampower queuing issues and debuff duration issues

This commit is contained in:
Jrc13245
2025-12-11 16:57:31 -05:00
parent 9c1f8649eb
commit b5f7399d30
3 changed files with 59 additions and 24 deletions
+14
View File
@@ -190,6 +190,20 @@ function API.IsQueueingEnabled(spellType)
return API.GetSettingBool("NP_QueueCastTimeSpells")
end
-- Check if ANY spell queuing is enabled
-- Used to determine if stopmacro behavior is needed for multi-line macros
function API.IsAnyQueueingEnabled()
if not API.features.hasNampower then
return false
end
-- Check all spell type queuing settings
return API.GetSettingBool("NP_QueueCastTimeSpells")
or API.GetSettingBool("NP_QueueInstantSpells")
or API.GetSettingBool("NP_QueueChannelingSpells")
or API.GetSettingBool("NP_QueueOnSwingSpells")
end
-- Get the queue window for a given spell type (in seconds)
function API.GetQueueWindow(spellType)
local ms = 500 -- default