TimeToOom
Adapted from TimeToDie, this add-on attempts to show how long it will be before you run out of mana.
Currently this may be a bit rough, as it uses mostly the same algorithm as TimeToDie did. Since mana is more fluid (many players gain mana periodically during combat), we may want to work on a more complex algorithm. Any feedback is appreciated.
This was a very quick adaptation so let me know if there are any issues. It has not yet been tested in a raid environment.
Many thanks to Mecdemort for the original TimeToDie.
Comments and bug reports
General comments and questions can be posted at the WowAce site. Bug reports and feature requests should be made using the ticket system.
Oops, I accidentally left a debug message in. r22 fixes that. Thanks for mentioning it!
Question: is the chat-spam intended ? Or is there a possibililty to turn it off ? Could find other options than right-clicking on the frame.
For the most part the calculation seems to be based on the last spell cast rather than a group of spells.
Really hoping this becomes useful for mages!
- The "reset after consecutive gains" now lets you configure how many consecutive gains will trigger the calculation reset. Also changed the default from 2 to 3. Set this value to 0 to turn the feature off.
This will help resolve issues with abilities such as Aspect of the Viper during combat, as the time should reset and start counting down correctly when you go back to a mana loss mode. The display may be slightly erratic during a long stretch of mana gain, but in general it'll try to hide the timer when it can't get a sensible calculation.
I may also add a configurable reset timer to ensure calculations are fresh during a very long encounter, but let's see how this does.