Does anyone know the in-game function for returning the remaining cooldown on Set skills? These are the only cooldown functions I can find but none of them seem to be what i'm after:
GetImplementActionCooldown -- This one I thought seemed most likely, but no matter what value I enter I can't get a result
GetPetActionCooldown -- Obviously related to pet skills
GetSkillCooldown -- This only seems to work for all the skills in your skill book.
GetActionCooldown -- This is the only function that I could successfully use to get the cooldown on a set skill, but I don't have enough room on action bar to do it this way.
GetEquipItemCooldown -- I would assume for finding the cooldown on things such as aoth cape and rings, honor gloves, etc
GetExtraActionCooldown -- Extra action bar, Siege herald skills for example
GetGoodsItemCooldown -- cooldown on the pots/food in your bag
I would think there would have to be a function somewhere related to the cd on set skills, but I just can't find it.
I can only see the set skill cooldown in action on the action bar. The action bar uses "GetActionCooldown". The set skills frame doesn't show the cooldown. I don't see any other way to get it.
Edit: I just tested the bot function and it works. So assuming your set skill is in your profile you could do something like this... Actually I'll write a small function.
function getSkillCooldown(skill)
for k,v in pairs(settings.profile.skills) do
if v.Name == "ALL_ENERGY_RESTORE" or v.Id == skill then
return v.getRemainingCooldown()
end
end
end
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Yeh I knew about the getRemainingCooldown function in MM, but im more looking for an in-game 1. Simply want it for rogue Kanches Rend and Phantom Stab, if kanches is on cd, use phantom etc.
Probably is no way of finding it without using action bar