SpellInfo

SpellInfo

296 Downloads

Show additional spell details in GameTooltip for spells.

The goal of this addon is mostly to quickly identify which of your spells do the most dps, and which do most dpm.
This will help you to know what works best if you quickly want to take down a mob, or what to use (or not to use) if you have long fights and mana is an issue.

Or if you're just a numberphile and love to compare stats this is for you! :-)

--- Current details: dps : Damage per second for initial hit
dpm : Damage per mana for initial hit
dotdps : Damage per second for DoT
dotdpm : Damage per mana for DoT
chandps : Damage per second for channeling
chandpm : Damage per mana for channeling
totaldps : Total damage per second *
totaldpm : Total damage per mana
hps : Healing per second for initial heal
hpm : Healing per mana for initial heal
dothps : Healing per second for DoT
dothpm : Healing per mana for DoT
chanhps : Healing per second for channeling
chanhpm : Healing per mana for channeling
totalhps : Total healing per second *
totalhpm : Total healing per mana

(*) Total damage/heal per second: Only if continuously casting as casttime, channeltime, DoT duration are different.

For instant cast spells the global cooldown time is used as casttime, as it takes that much time to use it and you can not do anything else.
Currently the used global cooldown is fixed at 1.5 sec, but this can be less for some classes and spells. TODO: fix that.

--- IMPORTANT: This addon probably only works on english version!
This addon depends on parsing numbers from the spell description string, which currently only works for english (enUS locale) strings.
(if you use another language, and it still works, please let me know, I don't know how to test this.)

--- Class support:
I started to try and get this to work for mana classes, but things like rage and energy work differently, and the spell descriptions for those are often very different, so this will take some time.
(also not sure yet if I can even implement them correctly or have any stats that make sense for those spells)

--- TODO:
- support more class spells.
- figure out a way NOT to be depending on parsing the spell description string, as this limits the supported languages/locales (currently only enUS)
- figure out a better way of coming up with correct global cooldown numbers, to show better results for instant cast spells dps.
- figure out multiple target healing numbers (if possible, see 2nd comment)
- implement addon configuration options for personal tweaking. e.g. which stats to show or hide etc.