fix cooldown timers for non pfui users and make trinket slot use usage respect conditionals and fix vanish reagent tooltip

This commit is contained in:
Jrc13245
2025-10-05 13:03:05 -04:00
parent a3169a7523
commit 77c420fd59
2 changed files with 69 additions and 61 deletions
+5 -1
View File
@@ -739,7 +739,11 @@ function CleveRoids.ValidateUnitDebuff(unit, args)
-- Time-left compare path
if unit == "player" then
-- Player auras already have 'remaining'
local tl = found and (remaining or 0) or 0
local tl = (found and remaining) or nil
if tl == nil then
-- Debuff not present: treat as expired (0 seconds)
return cmp[args.operator](0, args.amount)
end
return cmp[args.operator](tl, args.amount)
else
-- Non-player: try pfUI → internal libdebuff → 0s