WoWInterface - View Single Post - filter auras by duration
View Single Post
04-13-13, 10:03 AM   #6
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 453
It won't work on the player if you want to display auras that are about to expire. In that case you would probably have to hook an OnUpdate script to the button itself that will ForceUpdate the auras so you trigger SetPosition. Then you would check for timeLeft in your CustomFilter. If you just want to track short duration buffs like procs or heroism/time warp/ancient hysteria then you could use the duration argument instead of timeLeft, because they both hold the same information when the aura gets applied, but with duration you spare the call to GetTime().
  Reply With Quote