Hmm, ok, makes sense, made the following changes but for some reason it's still returning true and showing the button when gcd triggers, does it look right? Here is the entire block from the lua
FBConditions["incooldown"] =
function(target)
if not target then return false end
if type(target) ~= "table" then
target = { target }
end
local index, value
for index, value in pairs(target) do
if type(value) == "number" then
local button = FB_GetWidgets(value)
local duration = GetActionCooldown(button:GetID());
if duration > 1.5 then
return true
end
end
end
return false
end
*edit*
Ok got it fixed, for some reason > 2 worked but not 1.5 which is totally fine. Thanks for your help.