Preface
Hi! If you are reading this, please excuse me any errors.
It's my first AddOn and LUA attempt ever. Except for few small WeakAuras to display stuff in DF and WW.
I know there might be other addons that do exactly the same thing or even more.
But I just wanted to give it a go, not only to learn something but also to help myself during raids and m+.
How-to
First of all, the main command is:/brt
To begin with, type /brt toggle or /brt show to make the icon visible allowing you to move it around your screen. Simply click and drag to the place you wish.
Next stop /brt lock to lock the icon in place so you won't move it accidentally.
After that you may wish to change its size or scale, simply type /brt size X where X stands for how many pixels should the icon be displayed with. It clamps at 24 and 128. You may also use /brt scale X to scale it. It clamps at 0.5 and 3.0.
/brt reset resets the position of the addon.
Testing
/brt test allows you to test how the addon behaves while not in the encounter.
After you type /brt test the test begins or ends depending on current status. During the test you may type /brt use to use the charge or /brt charges to set current amount of available charges.
You can also set the maximum amount of charges for the test using /brt maxcharges X where X stand for the amount of charges.
It is also possible to change the interval between gaining the charge using /brt interval X where X stands for how many seconds it takes to gain charge.
Help
You can always type/brt help to display all possible commands with their description. Also do not hesitate to reach me in the comments section below! Enjoy!