Download
(48Kb)
Download
Updated: 08-05-08 09:53 AM
Pictures
File Info
Updated:08-05-08 09:53 AM
Created:unknown
Downloads:15,171
Favorites:66
MD5:

HealingEstimator  Popular! (More than 5000 hits)

Version: 1.3.6
by: Dagma [More]

DISCONTINUED. Most of what this mod does is no longer needed, after patch 3.0.2.

OVERVIEW

This addon does four main things.

(1) Displays a floating moveable health bar for your current party/raid target. This new bar indicates the predicted health of the target after a currently-casting healing spell lands. Move this bar with shift-drag, or open the options and drag it (without shift). Use "/healest glue" to make the bar always switch to your current target.

(2) Tracks healing and over-healing statistics. Separates over-healing from critical heals and over-healing from non-crit heals.

(3) Factors in healing talents and bonus healing from gear, to better predict amounts healed. Accounts for down-ranking penalty to bonus healing coefficients. Can display these calculations in spell tooltips.

(4) Plots efficiency (health-per-mana) against throughput (health-per-second) for all known ranks of healing spells. You can adjust +healing from gear and (for priests) talents to theorycraft and see what ranks are most efficient. Plots update immediately when you change you gear. Access these plots by right-clicking the minimap pie icon.

THE HEALING BAR

The bar has the following structure, when the heal will under-heal:

[------1--------|---2---|-3-]

1 - green current health of target
2 - yellow amount added by heal
3 - amount left to put target at full health

When the heal will overheal:

[----------1--------|-----2--]--2--|

1 - green health of target
2 - red (or yellow, if overheal is minor) amount of health to be added by heal

OPTIONAL FEATURES

Mana-per-5 command-line tools (added v1.3.3):
/healest mp5 [amount] => returns equivakent mana per minute for [amount]
/healest spi2mp5 [amount] => returns mana-per-5 equivalent to [amount] of spirit, for different regeneration percents (15%, 20%, 30%, 35%, 100%, and Innervate's 500% regen).

Optional display of percent over- and under-healing.

Optional display of heal-over-time spells (on current target) as icons attached to the health bar. Shows counts of stacked spells. Also shows Fear Ward (on current target) on the health bar. Also shows Blessing of Light.

Optional display of healing amounts in spell tooltips, after accounting for +healing and talents.

Optional display of target portrait on bar.

Right-click minimap icon for charts that compare efficiency (health-per-mana) and throughput (health-per-second) of known ranks of healing spells. Redraws in response to gear changes. Player can adjust amount of bonus healing and healing talents within the chart window, to engage in theorycrafting.

Arbitrary per spell bonus healing option (for librums and other gear affected specific spells): "/healest spellbonus Spell Name-100" will tell HealingEstimator to add 100 extra bonus healing to each cast of "Spell Name". Use "/healest spellbonus Spell Name-0" to clear a bonus of this kind. Active bonuses of this kind will display in the relevant spell tooltips.

KNOWN BUGS/FLAWS

German and French localization incomplete.

ORIGIN

This is a modified version of an original "Healing Estimator" by Zepi. Changes include: optional display of heal-over-time spells and Fear Ward, crit healing statistics, stability of updating bar on screen even when not casting a heal, improved (IMHO) interface design that includes optional portrait, target's health deficit, and optional display of percent predicted over(under)-heal. Update to WoW 2.0 entailed rewrite of targeting system that uses new events.

VERSIONS

1.3.6 -- Updated TOC for latest patch (20400)
1.3.3 -- Updated for patch 2.1.0: Added Binding Heal to Empowered Healing bonus; updated .toc; added some mana-per-5 command-line tools. See details in main description.
1.3.2 -- Release for Shaman spells and talents. Charts now better handle spells that cost less than passive mana regeneration, by plotting "change in mana per health" when True mana cost is checked. You'll be able to see which ranks give a net loss and which a net gain of mana, over their casting times.
1.3.1 -- Chart improvements: (1) added a slider for combat mana regen, (2) added tooltips with statistics for each plotted spell. See the new screenshot for example.
1.3.0 -- Some tooltip formatting improvements. Hopefully fixed Shaman start-up error. Added arbitrary per spell bonus healing option (for librums and other gear affected specific spells): /healest spellbonus Spell Name-100 will tell HealingEstimator to add 100 extra bonus healing to each cast of "Spell Name". Use /healest spellbonus Spell Name-0 to clear a bonus of this kind. Active bonuses of this kind will display in the relevant spell tooltips.
1.2.9 -- Fixed Renew Rank 12 tooltip error. Added command /healest buttontext to toggle display of average heal amounts on spell buttons.
1.2.8 -- Bug fix for feral druid mana cost error that occurred when gaining Clearcasting and immediately shifting out to cast a heal.
1.2.7 -- FR and DE localization improvements. Added "true mana cost" calculations to spell tooltips. New, more attractive and less bulky, healing bar border. Fixed (hopefully) error that sometimes occurred when healing pets.
1.2.6 -- Improved FR and DE localization. Preliminary chart support for druids and paladins. New option to make bar "stick" to current target. Toggle with /healest glue.
1.2.5 -- Paladin: Detecting and accounting for Blessing of Light; shows Blessing of Light icon on healing bar. Added penalty bonus healing coefficients for spells learned before level 20. Added option to hide the healing bar. A few small bug fixes.
1.2.4 -- Fix for data reset problem; attempting to calculate paladin heals now, considering Healing Light; priest chart improvements.
1.2.3 -- Fixed harmless non-healer init error.
1.2.2 -- Fixed Regrowth coefficients. Revised and expanded options menu. Experimental priest healing charts---right-click the minimap icon to play with them.
1.2.1 -- Mouse-target bug fix, preliminary druid spelltip math
1.2 -- Updated for WoW Live 2.0. Keybinding removed, because such functionality now impossible. Added portrait. Added priest math. Added HOT stack tracking.
1.1.0 -- Added keybinding for canceling a spellcast that is predicted to overheal.
1.0.1 -- Fixed typo in .toc file.

Optional Files (0)


Post A Reply Comment Options
Unread 08-28-08, 12:25 PM  
Dagma
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 201
Uploads: 8
Yes, that bug has been in for a long time. I should have fixed it long ago, but as I hardly ever use Lesser Heal...

In any event, to update this for the expansion, it will need a major overhaul. So I'm planning to merge bug fixes like this into the revision.

Originally posted by shadowstwin
Great addon, but I get the following error every time I use 'Lesser Heal':

Date: 2008-08-28 12:00:51
ID: 3
Error occured in: Global
Count: 1
Message: ...terface\AddOns\HealingEstimator\HealingEstimator.lua line 1175:
attempt to perform arithmetic on local 'castlevel' (a nil value)
Report comment to moderator  
Reply With Quote
Unread 08-28-08, 11:08 AM  
shadowstwin
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Great addon, but I get the following error every time I use 'Lesser Heal':

Date: 2008-08-28 12:00:51
ID: 3
Error occured in: Global
Count: 1
Message: ...terface\AddOns\HealingEstimator\HealingEstimator.lua line 1175:
attempt to perform arithmetic on local 'castlevel' (a nil value)
Report comment to moderator  
Reply With Quote
Unread 03-25-08, 08:31 AM  
hume
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Re: Re: Hmm ...

Originally posted by Dagma
Because there is no longer any point in testing for "Unknown".
Unless Blizzard changes their mind again, right?

I realize I'm not going to convince you of anything, but it really doesn't make the code that much larger, doesn't increase execution time at all, and deals with a known odd behaviour Blizzard has produced before.

Anyway, in light of how long this addon has gone since its last update, I'm not sure it matters.
Report comment to moderator  
Reply With Quote
Unread 02-10-08, 10:39 AM  
Dagma
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 201
Uploads: 8
Re: Re: Re: Hmm ...

Originally posted by hume
Why switch back and forth like that? Just test for both.
Because there is no longer any point in testing for "Unknown".
Report comment to moderator  
Reply With Quote
Unread 02-07-08, 07:33 AM  
hume
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Hmm ...

Originally posted by Dagma
if (SpellName==nil and (SpellTarget==nil or UnitName("target")==nil)) then

NOT

if (SpellName==nil and (SpellTarget==nil or UnitName("target")=="Unknown")) then
Why switch back and forth like that? Just test for both.

Code:
if (SpellName == nil and (SpellTarget == nil or (UnitName("target") == nil or UnitName("target") == "Unknown")))
then
Or am I missing something? I haven't read through the code.
Report comment to moderator  
Reply With Quote
Unread 10-18-07, 06:06 PM  
Dagma
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 201
Uploads: 8
Re: Hmm ...

Originally posted by Archonyx
Hey Dagma

So I'm pretty confused now. After you released v135, the issue I described below disappeared. Now, it's back. I'm not sure if it was due to 2.2.3 or whether it was some other add on getting an update (I use grid + clique), but I'm now having the exact same issue as before (healing bar will not disappear when I use mouse-over macros).
Yeah, they changed the behavior of UnitName("target") in 2.2, and then changed it back in 2.2.3. In 2.2, if you had no target, it returned "Unkown", while it used to return a nil value. In 2.2.3, it returns nil value again.

So I'll upload a new version that changes it back to looking for nil, and not "Unknown". That'll also fix the EU client problems, I suppose.

Quick fix: search for "Unkown" in the file HealingEstimator.lua and change it (including the "" marks) to nil. The line should end up looking like:

if (SpellName==nil and (SpellTarget==nil or UnitName("target")==nil)) then

NOT

if (SpellName==nil and (SpellTarget==nil or UnitName("target")=="Unknown")) then


Or you could just go back to using v1.3.4.
Last edited by Dagma : 10-18-07 at 06:10 PM.
Report comment to moderator  
Reply With Quote
Unread 10-14-07, 02:36 PM  
mymycracra
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Hi,

With the latest version of this mod, I don't see any bar when I clique cast with clique. Did you fix only the error for english client? Because I use the french client.

What should I tell you to help you fond what is wrong
Report comment to moderator  
Reply With Quote
Unread 10-12-07, 11:41 PM  
Archonyx
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Hmm ...

Hey Dagma

So I'm pretty confused now. After you released v135, the issue I described below disappeared. Now, it's back. I'm not sure if it was due to 2.2.3 or whether it was some other add on getting an update (I use grid + clique), but I'm now having the exact same issue as before (healing bar will not disappear when I use mouse-over macros). The issue does not occur when I turn on glue, but this doesn't help much since glue-enabled doesn't pick up my heals if I heal someone who I'm not targeting (which is often).

Any ideas?
Report comment to moderator  
Reply With Quote
Unread 10-02-07, 07:39 PM  
Dagma
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 201
Uploads: 8
Re: Target's target macros

Originally posted by Pericles
The issue I have is that Healing Estimator gets all confused if I am targetting a mob and healing what it targets. Would it be possible to show the mobs target as the person in healing estimator.
I do the same (passthrough heals), and have no problems, once I have cast a healing spell. The healing bar shows the target of the healing spell, for me.

All I can think to suggest to you (in the short term) is to try toggling the "glue" option. Type /healest glue. It changes the way the bar "sticks" to your target.
Report comment to moderator  
Reply With Quote
Unread 10-02-07, 05:50 PM  
Pericles
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 33
Uploads: 2
Target's target macros

Hi there,

First - excellent addon makes it much easier to see what to choose as a healing spell rather than relying on something like healbot to more or less choose for you. I like that it provides information to aid healing rather than attempting to do it for you.

Second - I tend to use "pass-through" macros so that regardless if I am main tank healing and thus usually on a single target or raid healing and thus often healing who the mobs/boss is targetting. I find it useful to have a single key bound for each rank of heal I cast that casts the heal regardless of targeting a player or a mob.

Thus if I am targetting a mob I can cast a heal on the person the mob is targetting without switching targets. This is useful in fights where secondary random targetting plays a big role.

My macro is the standard one eg:

/cast [help] Greater Heal; [target=targettarget, help] Greater Heal

or a variant

/cast [help] Greater Heal; [target=targettarget, help] Greater Heal; [player] Greater Heal


The issue I have is that Healing Estimator gets all confused if I am targetting a mob and healing what it targets. Would it be possible to show the mobs target as the person in healing estimator.

Logic would be :

if target = friendly then
normal behaviour
else
if target's target = friendly then
show target's target as person in healing estimator bar
end
end
Report comment to moderator  
Reply With Quote
Unread 09-29-07, 11:39 AM  
Archonyx
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Re: Re: Re: Re: Error in 2.2/v134

Originally posted by Dagma
I will play with that macro and see what I can do to restore the previous behavior. I hardly ever click cast, myself.
Thanks - works brilliantly now.
Report comment to moderator  
Reply With Quote
Unread 09-29-07, 08:56 AM  
Dagma
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 201
Uploads: 8
Re: Re: Re: Error in 2.2/v134

Originally posted by Archonyx
Something like that - I'm using Clique to trigger a macro:
Code:
/stopcasting
/cast [target=mouseover] Holy Light
The thing is, it's never behaved like this before 2.2/v134. I cannot get the bar to disappear without opening and closing the add-on's settings panel or healing someone outside the raid.
I will play with that macro and see what I can do to restore the previous behavior. I hardly ever click cast, myself.
Report comment to moderator  
Reply With Quote
Unread 09-29-07, 03:26 AM  
ArtureLeCoiffeur
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 39
Uploads: 3
'casttime' on mouseover

German client, and I'm translating from German, so I may not hit the words Blizz is using.
When I mouse over a healing spell (Greater Healing) in Blizzard's action bars, I get:

Date: 2007-09-29 11:24:26
ID: 51
Error occured in: Global
Count: 1
Message: ...terface\AddOns\HealingEstimator\HealingEstimator.lua line 219:
attempt to perform arithmetic on local 'casttime' (a string value)
Debug:
[C]: ?
...terface\AddOns\HealingEstimator\HealingEstimator.lua:219: SetAction()
..\FrameXML\ActionButton.lua:390: ActionButton_SetTooltip()
[string "*:OnEnter"]:1:
[string "*:OnEnter"]:1
AddOns:
... very long list deleted ...

Disabling tooltip math cures this, as can be expected.

Update: This only happens on fractional cast times because they contain a decimal comma in the German locale. (Probably other locales, too). After extracting the cast time, that decimal comma must be converted to a decimal point before the variable is used in calculations.

Insert something like this:
casttime = string.gsub(casttime, ',', '.');
Last edited by ArtureLeCoiffeur : 09-29-07 at 07:34 AM.
Report comment to moderator  
Reply With Quote
Unread 09-28-07, 02:08 PM  
Archonyx
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Re: Re: Error in 2.2/v134

Originally posted by Dagma
Is this happening after mouseover casting? That is, are you clicking the spell, then the target? If so, that's what happens in that case.

If it is rather (1) click target, (2) click spell, then that's behavior I can't replicate.
Something like that - I'm using Clique to trigger a macro:
Code:
/stopcasting
/cast [target=mouseover] Holy Light
The thing is, it's never behaved like this before 2.2/v134. I cannot get the bar to disappear without opening and closing the add-on's settings panel or healing someone outside the raid.
Last edited by Archonyx : 09-28-07 at 02:13 PM.
Report comment to moderator  
Reply With Quote
Unread 09-28-07, 12:56 PM  
Dagma
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 201
Uploads: 8
Re: Error in 2.2/v134

Originally posted by Archonyx
After I cast heals on someone, the healingestimator bar for that person remains on my screen indefinitely (until I heal someone else). Previously, it would fade out as soon as I de-targeted whoever it was I was healing. Anyone else having this?
Is this happening after mouseover casting? That is, are you clicking the spell, then the target? If so, that's what happens in that case.

If it is rather (1) click target, (2) click spell, then that's behavior I can't replicate.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: