View Single Post
01-14-23, 09:37 AM   #11
Vremon
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jan 2022
Posts: 14
Originally Posted by SDPhantom View Post
There's no way to query cooldown info on just any arbitrary ability. That and not all buffs share the same SpellID as the ability that applies it.

Also, the buff update doesn't continuously happen, so duration tracking will have to be written from scratch. Buff updates only fire when the list changes, usually by a buff (re)applying, gaining or losing stacks, dispelled, or expiration.
actualy u can do like this and its really working

buff.Stealable:SetShown(data.duration >= 10 and (data.expirationTime - GetTime()) < 20 );

only buff that have duration above10 and under 20 and its working
  Reply With Quote