Active cooldown print (onHotkey)
#10
This will print in chat the number of any active cooldowns.
I used this for my spell caster to get all the IDs of unknown spells on custom servers such as Evolunia
I used this for my spell caster to get all the IDs of unknown spells on custom servers such as Evolunia
hotkey("F1", "Cooldown print", function()
local tStr = {}
for i = 1, 255 do
if (modules.game_cooldown.isCooldownIconActive(i)) then
table.insert(tStr, i)
end
end
if table.getn(tStr) >=1 then
modules.game_textmessage.displayGameMessage('Active Cooldowns:\n'..table.concat(tStr, ', '))
else
modules.game_textmessage.displayGameMessage('No active cooldowns')
end
end)
01 Jan 2020