I am looking to write a simple mod that will alert when a cooldown is up. I've been looking at the events and found PLAYER_COOLDOWN_TIMER_SET. I did a test mod to see when this is triggered and it fires 3 times when the ability is triggered and once when it's cooldown is over.
First question, anyone know a event that only fires when a cooldown is OVER.
Second question, I am guessing I need to flip through the players abilityData for each ability but I don't know the structure of it to get the cooldown timer settings on each. Is there a breakdown of this or a example in the existing interface lua that will clear this up for me?
Ended up going at it a different route. Doesn't seem to be a cooldown "tracking" on the ability itself, only the button it's on. So, I replaced the "ActionButton:UpdateCooldownAnimation" function with my own and was able to alert when the cooldown was up and the ability ready.