DrDamage
Update 05/24/2013
DrDamage is currently being developed for 5.x. Only monks (of any spec) are not supported. All classes which existed prior to Mists are supported.
Current state: Check the http://www.wowace.com/addons/dr-damage/pages/known-issues Page before providing feedback!
DrDamage displays the calculated damage or healing of abilities with talents, gear and buffs included on your actionbar buttons. The addon also adds various statistics to the tooltips in your spellbook and on the actionbar.
Slash Commands:
/drd or /drdmg or /drdamage
Localization:
If you want to help having this addon translated into your language visit: http://www.wowace.com/projects/dr-damage/localization/
Functionality:
- Supports all classes
- Actionbar addons supported: Default, Bartender 4, CT_BarMod, Dominos, elvUI, Macaroon, Nurfed AB, IPopBar, nUI, ReAction Bars and RDX.
- Places text with the metric of your choosing on the actionbar buttons.
- Damage and healing statistics are placed into your tooltips. This includes for example critical hit chance, spell damage and damage coefficients, averages, DPS, DPSC (damage per seconds cast), damage until OOM and more!
- Your own buffs and your target's debuffs are taken into account.
- Allows manual modification of the essential talents, buffs and character stats used to calculate. For example you can test how much increasing your spellpower by 100 would increase your damage or healing output.
- If you're overwhelmed by the amount of statistics presented, you can use the options reduce the amount to whatever you feel is important!
Known Issues Please see the Known Issues page before opening a ticket.
Bug reports:
- NOTE: DETAILED reports about inaccuracies is the only way we'll know something is wrong. If you don't report it, don't expect it to get fixed!
To submit a bug report, please visit this page first: Mod Feedback This will tell you what we expect and how we need it in order to help you.
Acronym/abbreviation list:
- AP = Attack Power
- RAP = Ranged Attack Power
- SP = Spell Power
- Ht = Hit rating
- Cr = Critical strike rating
- Exp = Expertise rating
- Ha = Haste rating
- Ma = Mastery rating
- HPS/DPS = Healing/Damage Per Second
- HPSC/DPSC = Healing/Damage Per Seconds Casted
- HPSCD/DPSCD = Healing/Damage Per Seconds CoolDown
- HOOM/DOOM = Healing/Damage (until) Out of Mana
- HPM/DPM = Healing/Damage Per Mana
- DPE = Damage Per Energy
- DPF = Damage Per Focus
- DPR = Damage Per Rage
- DPRP = Damage Per Runic Power
- MPS = Mana Per Second (How much mana the spell uses per seconds casted)
- GCD = Global CoolDown
interface\addons\drdamage\caster.lua: 1787: attempt to index local 'tableSpell' (a nil value)
What race, class, level? What spell seems to be causing the issue?
DrDamage-1.6.0b\\Melee.lua:1413: attempt to concatenate field 'AP' (a nil value)\nDrDamage-1.6.0b\\DrDamage.lua:1221: in function <Interface\\AddOns\\DrDamage\\DrDamage.lua:1196>\n(tail call): ?:\nInterface\\FrameXML\\ActionButton.lua:408: in function `ActionButton_SetTooltip':\n<string>:\"*:OnEnter\":1: in function <[string \"*:OnEnter\"]:1>\n\n ---
DrDamage-1.6.0b\\Melee.lua:1413: attempt to concatenate field 'AP' (a nil value)\nDrDamage-1.6.0b\\DrDamage.lua:1221: in function \n(tail call): ?:\nInterface\\FrameXML\\ActionButton.lua:408: in function `ActionButton_SetTooltip':\n:\"*:OnEnter\":1: in function <[string \"*:OnEnter\"]:1>\n\n ---
one more issue... FFB spelldamage coeff is now incorrectly very high. I'm guessing this is a result of changing the school to 'frostfire' ... and drdamage doesnt know how to handle +dmg for the frostfire school?
after a little more digging... it seems that in caster.lua spell damage for FFb (caught me off-guard by the reference to spell ID) is not having the base spell damage being subtracted properly. It seems that GetSpellBonusDamage(1) is returning "0"
You are correct, FFB is a spell that benefits from fire and frost modifiers. I am unsure how resistance come into play, but i do know that immunity to frost or fire has no effect on FFB. Setting the school to frostfire and updating the talents worked great... and EP works correctly.
The one thing that didnt work is the crit chance.. I noticed that the caster.lua hack was pulling melee crit for baseCritChance, not spell crit... I fixed it by changing it to:
if DrD_MatchData(baseSpell.School, "Frostfire") then local baseCritTemp = GetSpellCritChance(1)
I've kept a separate secondary effect simply because Blizzard has done a wonderful job of making the tooltip ambiguous and confusing. I was originally led to believe that it would apply frost effects to the frost version of FFB and fire effects to the fire version, and whichever would do more damage to the target (after resistances and buffs/debuffs are taken into account) is the one that ended up occurring.
But now I'm of the impression that all frost and fire effects are applied to BOTH versions of FFB, and that the only deciding factor is the target's fire/frost resistances? In which case, I guess there really is absolutely no point in keeping separate fire and frost versions of FFB... Am I correct in this?
I've done the following:
Thanks for the help zoeckler, let me know how my changes go!
The major theorycrafters agree that FFB gets double benefits from EP... from my last post: ...since it has been shown that frostfire bolt gets double benefit from the +hit talent, i fixed it by doing this:
[GetSpellInfo(29438)] = { [1] = { Effect = 1, Spells = { "Frost", "Fire" }, ModType = "hitPerc" }, [2] = { Effect = 1, Spells = "Frostfire Bolt", ModType = "hitPerc" }, },
ALSO, FFB is showing base crit chance, not the fireCrit+frostCrit-baseCrit that you set up in the caster.lua. Once you get that working... it would be correct. - i want to mention, however, that no talents right now increase frost crit chance above baseCrit... so this function is technically not needed at this time.
oh, i found one of the issues... in the spell detail area, you swapped the frostfire order so that it is classified as "Frost" first, then "Fire"... it seems that the [secondary] is not doing anything functional (which I already knew)... so as of the latest build is is only classifying FFB as "frost", and therefore showing only frostCrit in the tooltip (which is the same as baseCrit).
i fixed this locally by removing the [secondary] from FFB and putting in in the "fire" school. The modifications to the frost talents themselves should take care of the rest.
Shadow Form: The 15% bonus is a global 1.15 multiplier to the overall damage. The bonus from crit is also multiplicative, not additive.
Twin Disciplines: This talent also applies to Mind Flay. Not sure why, but it does.
The boni from Improved Shadow Word: Pain, Twin Disciplines, and Darkness are added up before applied multiplicatively. For Shadow Word: Pain, the computation would look like this: 6% from Imp SWP, 5% from Twin Disciplines, and 10% from Darkness add up to a 6%+5%+10%=21% bonus. The overall damage of SWP is multiplied by 1.21.
Glyph of Shadow Word: Pain, http://www.wowhead.com/?item=42415, I couldn't find it in the code. The bonus stacks multiplicatively with Twisted Faith. A fully talented TF and the Glyph yield a 10%+10%=20% bonus, so the overall damage of Mind Flay is multiplied by 1.2.
I'll get this all fixed up soon.
Regarding glyphs: There's currently no support for glyphs in DrDamage at all. Once i squash most of the basic class issues, it's next on my list of things to do.
kouik,
Repository access is not under my control as I am not project leader. Please feel free to continue posting tickets that's what they're there for after all. =)
Ekovah,
Are you sure FFB gets twice the effect of Elemental Precision? I'll try and verify this independently, sounds a little fishy but possible.
As for crit damage, I'll look into that. I'm not sure why max would be correct but min would not. They should both (in theory) be off by the same margin.
Interface\AddOns\DrDamage\[Melee.lua:1009]: attempt to perform arithmetic on local 'minDam_O' (a nil value)
Using Dominos.
Level 80 Undead Rogue.
It's not really any surprise that parts of it might seem similar given the generalized structure of the class files. Each of the classes look similar to one another even. I merely copied Gagorian's original layout template as I applied my own work.
As for your build having worked better than mine, that's fair. Keep in mind however that mine is the first alpha release, I still have work to do yet - I certainly don't claim perfect implementation at this point. We crawl before we walk. =)