
Twintop's Insanity Bar
Last Updated: Dec 13, 2018 Game Version: 8.1.0
Tracks your current Insanity level, time remaining in Voidform, expected stacks at the end of your current Voidform, and more! This addon is based on the WeakAura of the same name by me (Twintop) from Legion.
This is a fully customizable bar for Shadow Priests to use to track their current and future levels of Insanity while in combat. Features include:
- Full color customization of every part of the bar to make it suit your UI or make certain situations stand out.
- Calculates how long you have left until Voidform will end, given the current Insanity level.
- Shows how many stacks of Voidform you can expect to get before falling out, given the current Insanity level.
- Tracks Shadowy Apparition spawns (with Auspicious Spirits talented) and incoming Insanity as a result.
- Tracks Mindbender swings and expected incoming Insanity from future swings.
- Audio and visual cues for Mindbender, haste levels, and when Void Eruption can be cast.
- Bar text can be configured to show the following data in whatever format you'd like:
- Current Insanity, Insanity from Hardcasting a Spell, Insanity from Passive Sources (Auspicious Spirits, Mindbender)
- Current Voidform Stack Count, Incoming Voidform Stacks, Current Voidform Drain Stacks Count
- Insanity drain per second, Time until Voidform will end (given the current Insanity and Drain)
- Lingering Insanity Stacks, Lingering Insanity Time Remaining
- Auspicious Spirits in flight, Insanity from Auspicious Spirits
- Mindbender swings, gcds, and time remaining, and, Insanity incoming
- Current Haste%, GCD
- Number of Shadow Word: Pains and Vampiric Touches out on targets
- Time To Die of enemies you've targeted
- Spell icons for your current casting spell and many others that are related to Insanity or tracking.
There seem to be some weird shenanigans going on with the bar transparency:
1) Whenever I relog the transparency will reset. However, the settings are saved. I basically have to open the color settings, click on each color and accept without changing anything to get the bar back to the correct settings.
2) It seems like making textures transparent seems to shift their colors. For example, my hardcasting is set to the standard white/gray. If I increase transparency it shifts to a purple color. (I guess this problem might be related to how the bars work & stack)
Thanks for the awesome addon (and WA in the past)! Keep up the good work!
I realize that Mastery doesnt match. Maybe a bug? Maybe something I am missing? Im using $mastery%
Proof: https://imgur.com/a/mmF2BNp
EDIT: After so long I decided to take matter into my own hands. I talked with WA's devs about the difference and I found out why.
In TwintopInsanityBar.lua line 4235 we have
But seems mastery have a bonus coefficient, according to the Blizzard own code in PaperDollInfo.lua.
I added snapshot.coeffMastery to your list and modified the code in that line to:
Seems that did it. Proofs: https://imgur.com/a/2p5ZO43
Anyway. Thats the first time I step up to solve something in other ppl's addons. Your addon is a must for me. Thats why I care so much. Thx for it! And thx for your work! =)
In reply to Yharos:
Any chance you could have this bar hide when you enter a pet battle
In reply to soulyouth:
In reply to Yharos:
In reply to soulyouth:
It is possible to add a $crit variable like $haste so I can show the critical percentage in the bar?
bump on - The ability to move it horizontally or vertically would be great" :3
how can i enter the options screen as shown in the screenshots?
EDIT: nvm found it sorry :P
Is there an option to move the text on the bar? Currently seems stuck where it is placed by default. The ability to move it horizontally or vertically would be great.
When resizing the height of the bar lower than 8 you cannot resize the border greater than 0. I use a rather thin bar for my UI design and this seems to be the case on multiple border types.
Positioning of the bar horizontally and vertically with decimal point precision would be handy too as it allows for pixel perfect placement and no border resize upon movement problems (where you move your object slightly and one side of the border gets wider or thicker etc).
Fantastic mod, thank you.
[edit]: The ability to show the bar when a target is selected would be good too. Maybe allow combinations like in combat and target selected?
Hi Twintop -
I just updated the bar from the old WA version, and I noticed I had two bars showing up on my screen - the addon version and the weakauras version.
For now, I have the WAs set to "never load" and the addon bar works just fine - it safe to completely delete the WAs, or is the addon dependent on them?
(I did delete the old WAs before installing the addon.)
In reply to rikapi:
Hey Twintop, I always modified the weakaura so that at the end of each (non-s2m) voidform it would only print out "Voidform Stacks: XX" and none of the other info, would you be able to add a "Show simple voidform summary" option which does this?
Love your work! <3
In reply to domzae:
Please add a localization file thank you
In reply to xy985426:
Thank you for making the addon, saves updating the weakaura for sure.
Is there the ability to change the textures like you could with the weakaura? such as the border and bar textures, as well as possibly the text font?
Thanks again
In reply to chriseckbob: