This is a simple addon to display in the tooltip of spells the current
and/or total mana the spell will cost, in percentage.
180 Mana (t:18.1%)(c:25.5%)
This will rain down lots of icy stuff on
thine enemies to smithe them, in thy glory
/manaperc ? : Displays extra information about mypercentage
/manaperc standby : Toggles the addon's standby mode. Standby makes the addon active or inactive, though it is still loaded.
/manaperc total : toggles displaying mana cost in % of total mana
/manaperc current : toggles displaying mana cost in % of current mana
/manaperc colour : toggles displaying colour OR t:/c:
The original author of the Ace1 version of this addon was Instant, it was under the name of MyACEPercentage.
I've taken the addon, converted it to Ace2, optimized the tooltip processing part (the main chunk of the addon) and given it a name change.
TOC bump for 3.1
Removed unnecessary LibDruidMana-1.0 from the package.
Upgraded for 3.0.2
Now works properly with Druid Mana while in forms thanks to Blizzard API changes.
07/05/2008: r70749[list][*]Upgraded to Ace3.[*]Added an options interface to the Blizzard Interface options.[*]Now using tooltip:GetSpell() and GetSpellInfo(spellName) to get spell costs. Should be much quicker than scanning the tooltip.[*]Note: Regular slash commands are disabled at the moment and executing /manaperc will bring up the GUI options window. Regular slash commands should be back soon.
Updated TOC for WoW 2.3
Changed how we hook the tooltip.
Updated TOC for WoW 2.1
Updated to work with 2.0.
More optimizations! I lied yesterday, a fresh look this morning revealed more could be done. Check the changelog if you really want to know what's changed.
Fixed missing Libs entries in the TOC.
Small optimization. Managed to throw away another unneeded local. I think this is about as optimized as it's ever going to be now.
Fixed empty Libs directory. Not sure why it was empty.
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.
*Clicking the donate button above will take you to PayPal.com
*Clicking the donate button above will take you to Pledgie.com