oUF

97.2k Downloads

add rune id back to rune table

brendanblackwood opened this issue ยท 2 comments

commented

I'm trying to update oUF_hank and I noticed that rune:SetID(rid) was removed in (4844b6f). Right now, hank is using rune:GetID() to figure out what the cooldown is for the rune when listening to the OnValueChanged event on the rune.

It's possible that there is another way to get the rune_id or even a much better way to go about this entirely. I'm fairly new to lua and WoW's API so any thoughts/help would be appreciated.

commented

When you are creating the runes you can set the id yourself if you need it.
Also, since it is contained in a table, you can just use the index to find out which one it is.

commented

Makes sense. Thanks