AlarmHUDmage 5.1 by Kloo @ Malygos
This tiny addon shows a message at the center of the screen when certain mage related actions should be taken.
It will only prompt for things that make sense based on what spec you have activated.
For Fire mages the messages are, in descending order of priority:
> n - Improved Scorch - t < Target has n stacks of Improved Scorch debuff expiring in t seconds.
>>> Hot Streak - t <<< Hot Streak is active for t more seconds.
>>> Living Bomb <<< Target does not have your Living Bomb dot.
>>> Improved Scorch <<< Target does not have Improved Scorch debuff.
> Living Bomb - t < Living Bomb is active for t more seconds.
For Arcane mages the messages are, in descending order of priority:
> n - Missile Barrage - t < Missile Barrage is active for t more seconds
and you have n stacks of Arcane Blast where n is less than 3.
>>> Missile Barrage - t <<< Missile Barrage is active for t more seconds
and you have 3 stacks of Arcane Blast.
> n - Arcane Blast - t < You have n stacks of Arcane Blast debuff expiring in t seconds.
Shown if more than 1 stack but less than 3.
>>> Arcane Blast - t <<< You have 3 stacks of Arcane Blast debuff expiring in t seconds.
For Frost mages there is just one message:
>>> Fireball! - t <<< The next fireball you cast is instant and costs no mana,
for the next t seconds.
If the target is casting or channeling, a reminder to counterspell is shown above the main message:
CASTING --- Spell Name Target is casting a spell.
CHANNELING --- Spell Name Target is channeling a spell.
If the target has one or more spellstealable buffs, a reminder is shown below the main message:
SPELLSTEAL --- Buff --- ... One or more buffs that can be taken with Spellsteal.
This addon is designed to work well with my other addons but there are no dependencies.
1.0 - Initial release.
1.1 - Tweaked alpha value on message.
1.2 - Code cleanup and simplification.
1.3 - More code cleanup and added messages for missing buffs.
1.4 - Sometimes would not pick up missing buffs.
It does not show missing buffs message when you login until the first
time you gain, refresh or lose a buff.
1.5 - Bug fix: Now properly recognizes mage int buffs cast by another mage.
Changed surrounding >>> <<< to be consistent on all messages from this addon.
1.6 - Small tweaks to colors and transparency.
2.0 - Almost complete rewrite. Made OnUpdate based. Added messages for spellsteal and improved scorch.
2.1 - Added checking for Winter's Chill, if it's detected, it won't prompt you to Scorch.
Changed the texts slightly. >>> <<< around Improved Scorch and Living Bomb means the target
does not have the debuff at all.
2.2 - Do not prompt for Living Bomb on targets with less max health than 100k.
Do not prompt for Improved Scorch on targets with less max health than 50k.
Cleaned up some of the code. Got rid of XML file.
2.3 - Added a line of text above the main text that shows what trinket procs are active.
2.4 - Swapped priorities on Hot Streak and Improved Scorch.
2.5 - Bumped version number because I uploaded a broken zip.
2.6 - Instead of showing nothing when all is good, it shows two green angle brackets at the center.
This makes it much easier to see your exact position if you camera all the way out, and the ground
is full of spell effects (such as during Malygos).
3.0 - Moved spellsteal message to it's own text line, since sometimes you want to ignore it and keep on DPSing.
Instead of watching for live target, watch for target you can attack, otherwise show nothing.
Don't worry about updating text on target change, just update slightly more often than 3 times/second.
Remind about Scorch and Living Bomb only if target currently has >50k health.
Moved Hot Streak priority back below Living Bomb, with exceptions:
If you don't have Living Bomb up and Hot Streak is expiring in less than 6 seconds, show Hot Streak message.
If you have Living Bomb up and Hot Streak will expire less than 6 seconds after the Living Bomb, show Hot Streak message.
Otherwise show normal Living Bomb message.
This may still get some fine tuning... I'm not yet sure what the absolute optimal casting is here.
3.1 - Changed color of "all is well" arrows to black to make them less intrusive while more visible against
bright spell effects and show them with or without target.
Changed how Hot Streak and Living Bomb are shown. If LB is needed, show HS timer as well, if active.
Remind about Improved Scorch if needed in less than 8 seconds, Living Bomb if less than 6 seconds.
3.2 - TOC bump for 3.1.
3.3 - If Shadow Mastery debuff is detected on target, don't prompt for Improved Scorch.
4.0 - Removed trinket proc tracking as there are other, more complete, addons that perform this function.
Removed buff tracking as, again, there are better addons out there for that function.
Removed health requirements for checking Improved Scorch or Living Bomb.
Remind about Improved Scorch and Living Bomb only if those talents exist in the currently active spec.
Greatly simplified priority calculations and display:
If target has Improved Scorch up and it's either not fully stacked or about to expire, prompt for it.
Else If Hot Streak is up, prompt for it.
Else if Living Bomb is needed and not currently active on the target, prompt for it.
Else if Improved Scorch is not on target, prompt for it.
Else if Living Bomb is needed and currentl active, show countdown timer for LB.
Spellsteal line now shows the name of all buffs you can spellsteal from target.
Added casting line, shows spell being cast or channeled by target, to let you know when to Counterspell.
5.0 - Added support for arcane mages.
Fixed Living Bomb checking when multiple mages cast it due to change in patch 3.1.
5.1 - Show when target is casting regardless of what class you are logged in as.
Scale down the font size some.
Tweaked Living Bomb message - Only show countdown if 2 seconds or less.
Added support for frost mages, show when Fireball! buff is up (Brain Freeze talent).