A set of basic buff bars using SecureAuraHeaderTemplates, so it is possible to click off buffs.
This, is something I coded for my own personally use and as such, there are only some very basic configuration options in the lua file. However, most users with very basic lua skills (or who are willing to experiment) should be able to configure this how they please without any issues.
Unfortunately, as Blizzard has been dragging their feet finalizing the template there are a few bugs that are out of my hands. Both sorting, and temporary enchants are buggy. Until Blizzard fixes their typos, and adds better support this is unfortunately what you get.
This includes support for poisons on throwing weapons. Looking through blizzard's code they specifically work with the first two slots, but not the third. So if anyone can find actual proof that it's possible using the SecureTemplate, and that they can be clicked off in combat feel free to pass that along to me.
**As of v1.2 I have added a variable named "updateFrequency" to the options at the top of the lua file which defaults to 0.1. Lowering the value will make the bar empty more smoothly if you are really bothered by the default. Alternatively, you can also raise the value to lower CPU usage at the cost of the bar emptying in chunks if you (like me) don't mind that.**
**v1.6 will throw off the positioning values from previous versions . To be able to use your old values you can type "/script print(GetCVar("uiScale"))" into your chat box and then multiply your old value of barScale by the number outputted by the script. This will make it look exactly like it did before.**
Thanks to sigg for his post. I was being lazy and delaying my dig into Blizzard's code until they had fixed all the bugs, but his post did all the hard work for me in that regard so I decided to update.
Oh and Shadowed, for which I first based my buff bars on a very long time ago.
-Added workaround to fix odd behavior with temporary weapon enchants.
-Fixed tool tip for offhand weapon.
-Slight cleanup of code.
Turns out UNIT_AURA acts very strangle when it comes to temporary weapon enchants. The event is fired under 95% of circumstances with shaman, and never for rogues.
-Added code to turn off separation of buffs. However, looking at Blizzard's code it still looks broken, and doesn't work for me.
-Rewrote weapon enchant code. Should now support throwing weapon buff as soon as blizzard adds support for it.
-Fixed bars not hiding when alt+z is hit.
-Minor optimizations and restructuring for possible future features.
Blizzard has half fixed being able to click of weapon buffs! You can now click off your mainhand buff. Unfortunately trying to click the offhand buff removes the mainhand buff, and there still isn't any support for throwing weapon buffs.
Still haven't found the time to look into the possibility to abuse consolidated buffs to move buffs with a 0 duration.
-Thanks to Ailae for pointing out a super embarrassing error. Performance won't suck in a party or raid now.
-Fixed really stupid error caused by the rewrite where I wasn't passing the filter type properly so debuffs were receiving buff timers.
-Rewrote how the auras are updated resulting in a 30-50% performance improvement, and 0 CPU usage with no buffs that require animation.
-Fixed ghost timers that could ocassionally appear on buffs with no duration
-Fixed counter issue causing performance issue and optimized a bit. New option "updateFrequency" added. Defaulted to 0.1, lower the number for smoother animation, raise it to lower CPU time at the cost of choppy animation.
-Added additional variables to let people anchor debuffs to buffs if they want to.
-Fixed texture path from internal location and added border texture to archive.
-Fixed really, really dumb anchoring issue.