Download
(3 Kb)
Download
Updated: 02-08-11 12:43 PM
Pictures
File Info
Updated:02-08-11 12:43 PM
Created:01-20-11 10:30 AM
Downloads:3,548
Favorites:13
MD5:
Druid Mastery
Version: 1.09
by: kameelyan [More]
*Please post any bugs/lua errors you are receiving in the comments section off this addon.*

I wrote this addon in order to begin to understand how much of my healing was affected by Resto Druid's mastery values. Basically, it tracks your combat log looking for heals that are currently affected by Mastery and then saves them into a data table. Lastly, it'll compare your "mastery healing" versus your "total healing" for each spell as well as total.

Hopefully this helps other Resto Druids analyze their healing benefits from mastery.

Currently the following slash commands exist:
/dm - shows available slash commands
/dm reset - resets data in data tables
/dm combat - enables the addon to only collect in combat [enabled by default on addon load]
/dm nocombat - enables the addon to collect while out of combat
/dm ticks - shows the tick/cast count data table
/dm healing - shows the overall healing data table
/dm mastery - shows effective mastery healing [no overheals] versus effective total healing [no overheals]
/dm masterycrit - shows effect mastery healing [crits only] versus effective
/dm masteryonly - shows effective mastery healing versus total mastery healing
/dm nomastery - shows healing values (affected versus non affected) but has heal values gained from mastery removed [suggested by slourette]

Future Plans:
Add in Mastery Heals Per Mana versus Total Heals Per Mana
Add in actual UI Frame features for tables/buttons/filters, etc.
Any user requests will be strongly considered

Changed in 1.09:
  • Updated Mastery rating to be 1.45% per point as opposed to the original 1.25%

Changed in 1.08:
  • Added Version Number when /dm is done.
  • Added in /dm nomastery

Changed in 1.07:
  • Updated printout function to be much more simplified and detailed.

Changed in 1.06:
  • Added /dm masteryonly to the command list.
  • Added rounding to any printout that needed it.

Changed in 1.05:
  • Continuing to work on maximizing it's efficiency and reduce any lua errors found.

Changed in 1.04:
  • Updated how mastery was determined to fix certain lua errors being generated (not promising they're all fixed - given how combat log events fire, it's a work in progress)
  • Fixed a bug causing 3% extra mastery to be applied inappropriately.

Changed in 1.03:
  • Fixed bug where LB ticks would not count as mastery after refreshing it with an existing HoT and the stack count was less than three. (thanks Kluian)

Changed in 1.02:
  • Fixed some minor lua errors.

Changed in 1.01:
  • Added new slash commands and data tables.
Optional Files (0)


Archived Files (9)
File Name
Version
Size
Author
Date
1.08
3kB
kameelyan
01-27-11 08:06 PM
1.07
3kB
kameelyan
01-26-11 12:23 AM
1.06
3kB
kameelyan
01-24-11 02:33 PM
1.05
3kB
kameelyan
01-22-11 09:54 AM
1.04
3kB
kameelyan
01-22-11 01:07 AM
1.03
3kB
kameelyan
01-20-11 07:28 PM
1.02
3kB
kameelyan
01-20-11 05:27 PM
1.01
3kB
kameelyan
01-20-11 03:51 PM
1.0
3kB
kameelyan
01-20-11 10:30 AM


Post A Reply Comment Options
Unread 01-20-11, 12:24 PM  
Pyrates
A Theradrim Guardian
 
Pyrates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 129
Uploads: 4
Nono, totally wrong! Division is correct, you just need the right number: If you get 12% Mastery Bonus, you need to divide by 1.12. See your own examples:

if actual heal = 20, the calculated value would be 20 - 10 = 10
That means 80 overheal with mastery. 10% Bonus means you'd have had 91 Heal withouth mastery (because 91 + 10% * 91 = 100), and the calculated value would be 20 - 91 = -71, so it's negative, so we need the 0. Mastery didn't do anything in this case, because the bonus given by it just went into overheal.

Same is true for your other examples. But lets assume the heal was 96, then we'd compute 96 - 91 = 5, so mastery gave us 5 heal in this case, which means effectively mastery gave us 5/91 % more heal (less then 10%, because some of it went into overheal).
__________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
Pyrates is offline Report comment to moderator  
Reply With Quote
Unread 01-20-11, 11:55 AM  
kameelyan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 17
Uploads: 2
Since mastery is a percentage, wouldn't you want to multiply the value instead of divide?
Code:
actual heal - (total heal * mastery%)
Because wouldn't dividing the total heal by the mastery % effectively increase the total heal value which wouldn't make sense?

actual heal - (total heal * mastery%) seems like it would yield what you're talking about.

if mastery % was 10 and total heal was 100 then

if actual heal = 20, the calculated value would be 20 - 10 = 10
if the actual heal was 11, then calculated value would be 11 - 10 = 1
and lastly, if it was 7, calculated value would be 7 - 10 = -3

The last scenario would mean that heal did not benefit from the mastery bonus at all.
kameelyan is offline Report comment to moderator  
Reply With Quote
Unread 01-20-11, 11:35 AM  
Pyrates
A Theradrim Guardian
 
Pyrates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 129
Uploads: 4
Is that correct?
Yes

Also, here's a nice function to sweeten the output of healing done:

Code:
local valShort = function(value)
	if(value >= 1e6) then
		return ("%.2f"):format(value / 1e6):gsub("%.?0+$", "") .. "m"
	elseif(value >= 1e4) then
		return ("%.1f"):format(value / 1e3):gsub("%.?0+$", "") .. "k"
	else
		return value
	end
end
__________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
Last edited by Pyrates : 01-20-11 at 11:37 AM.
Pyrates is offline Report comment to moderator  
Reply With Quote
Unread 01-20-11, 11:27 AM  
kameelyan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 17
Uploads: 2
Originally posted by Pyrates
Hey Pyrates here! Nice addon. I do think you should compute a different value though: If a spell heals with mastery bonus, you can check out how much the mastery bonus would have been, and then compute how much the spell would have healed without mastery, where of course you'd need to consider the overheal given, i.e.

Code:
amount -  (amount + overheal) / masterybonus
(only count if it's positive). This is the number "effective healing gained for this spell by having mastery apply to it". Adding it all up and comparing it to total healing done might be useful (and it's probably easy to add the same thing for crits, giving you an easy way to compare crit and mastery).
Just to clarify. You're variable "amount" above. Is that the actual heal (without overheal)? I imagine it is, just want to be sure. Also, I'd have to look into how to effectively identify what each character's mastery bonus is. I'm sure it's not difficult, just haven't had to do it.

But essentially you're saying:
Code:
Actual Effective Heal [no overheal] - (Total Heal [including overheal] from spell / masterybonus)
Is that correct?
Last edited by kameelyan : 01-20-11 at 11:28 AM.
kameelyan is offline Report comment to moderator  
Reply With Quote
Unread 01-20-11, 11:02 AM  
Pyrates
A Theradrim Guardian
 
Pyrates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 129
Uploads: 4
Hey Pyrates here! Nice addon. I do think you should compute a different value though: If a spell heals with mastery bonus, you can check out how much the mastery bonus would have been, and then compute how much the spell would have healed without mastery, where of course you'd need to consider the overheal given, i.e.

Code:
amount -  (amount + overheal) / masterybonus
(only count if it's positive). This is the number "effective healing gained for this spell by having mastery apply to it". Adding it all up and comparing it to total healing done might be useful (and it's probably easy to add the same thing for crits, giving you an easy way to compare crit and mastery).
__________________
" ... and the Vogon will do things to you that you wish you'd never been born, or, if you're a clearer minded thinker, that the Vogon had never been born."
Last edited by Pyrates : 01-20-11 at 11:03 AM.
Pyrates is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

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.