Download
(28Kb)
Download
Updated: 10-06-08 12:53 PM
Pictures
File Info
Updated:10-06-08 12:53 PM
Created:unknown
Downloads:4,106
Favorites:11
MD5:

Absorption Tracker

Version: 1.05b
by: Santiclause [More]

A useful addon that tracks the amount of shielding left on your Power Word: Shield and Divine Aegis! SHOULD NOW BE FULLY FUNCTIONAL SORTA!

Only works on the WotLK beta, and only for priests because only priests have PW:S and DA.

Includes a FULLY CUSTOMIZABLE INTERFACE (you can drag it around and that's about it).
Commands are:
/at lock/unlock
/at enable/disable
The function of those commands should be self evident.

The formula to calculate the amount of shielding that PW:S supplies is correct for the current beta build (I think it's 9104 or something?); if new builds fix certain talents (Borrowed Time) then the add-on will have to be changed.



This is still in sort-of-development, so any feedback would be amazing!

1.05b - just some minor adjustments. borrowed time coefficient changed (the bug was fixed, so the calculations accurately reflect the tooltips now), and also apparently 0 isn't evaluated as false in an if() statement. Who knew!

1.05 - hearty amounts of luls. I tried to use select() on a table. baaaaad!

1.04 - fixed some Divine Aegis variable saving issues, which also affected stacking.

1.03 - lol attempting to perform arithmetic on nil. Apparently nil isn't equivalent to 0. D'oh! also a typo in focused power.

1.02 - so apparently I had the formula wrong. Twin Disciplines and Focused Power don't affect it. Thx Constie!11!!

1.01 - Fixed a stupid typo that completely prevented it from tracking absorption data, which is, y'know, what it's supposed to do. I had it as "_MISS" when the combat log event is actually "_MISSED". Lol! My bad.
Optional Files (0)


Post A Reply Comment Options
Unread 03-21-09, 02:33 PM  
Santiclause
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 10
Uploads: 5
The nil/zero thing was just my inexperience with Lua. I figured that it should evaluate as false in if statements, but I was wrong.

As I've said before, this is a really, really old add-on - the reason you're finding "bugs" is because the addon was accurate during the Beta, which was, what, 3.02? 3.01? The talent trees have changed, the absorption amounts have changed, the coefficients have changed, so it's not going to be accurate in the slightest. You can update it and fix it if you want, might be fun, who knows - but there are definitely better add-ons out there, I believe some people linked to them in the comments. I only made this one because it was the first of its kind, and was needed.

Edit: and keep in mind that all of the DA mechanics have changed/are about to change. I haven't been keeping abreast of the changes, so I wouldn't be able to tell you what they are.
Last edited by Santiclause : 03-21-09 at 02:36 PM.
Report comment to moderator  
Reply With Quote
Unread 03-21-09, 01:59 AM  
p57adxo
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
more bugs found

function AbsorbTracker_Absorbed() does not properly calculate nil values.

solution: i want to suggest that nil values need to be converted to zeros. example:

function AbsorbTracker_Absorbed(sGUID, sName, dGUID, dName, amt)
--check that you shielded that person
if(shields[dName]) then
...
if(PWSamt==nil) then PWSamt = 0 end
if(DAamt==nil) then DAamt = 0 end
...
end
end


note: author already fix it for DA. but the error come out for PWS.
Report comment to moderator  
Reply With Quote
Unread 03-20-09, 02:34 PM  
p57adxo
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Updated absorbtion amount formula.

Originally posted by Moordorjabi
As of last night (3.0.8 build 9464) with 5/5 Twin Disciplines, 2/2 Focused Power, 3/3 Improved PW:S, and 5/5 Borrowed Time my shield would absorb:

5371 with 1703 spell power.
5635 with 1877 spell power.


The formula being used in the tracker is

(1+impShield)*(1+focusedPower)*(1+twinDisciplines)*((shieldingCoefficient*(1+borrowedTime))*heal + baseAbsorb)

which for the previous tests be

1.15*1.04*1.05*((0.807*1.4)*1703 + 2230) = 5216
and
1.15*1.04*1.05*((0.807*1.4)*1877 + 2230) = 5463

respectively.


As of last night TD and FP certainly appear to contribute and in the same way they do to other spells. Borrowed time is also additive to the coefficient instead of multiplicative. The resulting value also appears to be floored.

The formula

(1+impShield)*(1+ focusedPower + twinDisciplines)*((shieldingCoefficient + borrowedTime)*heal + baseAbsorb)

produces

1.15*1.09*(1.207*1703+2230) = 5371
and
1.15*1.09*(1.207*1877+2230) = 5635


Keep up the good work.

-- Moor

using my formula:
4850 with 1703 spell power.
5084 with 1877 spell power.

to verify it, your glyph should heal around
970 with 1703 spell power.
1017 with 1877 spell power.


^_^
Report comment to moderator  
Reply With Quote
Unread 03-20-09, 10:45 AM  
p57adxo
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
First of all, I'm new to WoW and add-on writing. but i'm not new to programming ^_^

Currently, I'm looking for a reliable "shield tracker" and few of my friends recommended yours. Since you will not update/fix it, i try do it myself. while vetting through your codes i noticed that you have a different value of absortion for rank11 and rank12 compare to wowhead (and other reference site). the rest are the same. may i ask why?

from wowhead.com
spellID(25217) == 1125 absorption
spellID(25218) == 1265 absorption

from absorbtracker.lua
spellID(25217) == 1147 absorption
spellID(25218) == 1315 absorption



edit:
i also come out with my own calculation of "total absorption". however, it is using different spell coefficient (94.22%)

i got my "total absorption" from total of heals from glyph of PW:S.


case:
maxBT; maxImprovedPW:S
maxTD; maxFP (doesn't count towards total absorption calculation)
spellpower = 1419
PW:S(rank14) = 2230 based
(suggested) PW:S coefficient = 94.22%
total heal by glyph = 894 = 20% of 4470 <-- "total absorption"? (i'll show its verification from my formula later).
total heal by glyph (crits!) = 1340 = 20% of 6700

note1: the in-game tooltip of PW:S shows that ImprovedPW:S affect base spell total before any coefficient is taken account.
PW:S tooltip shows 2564 = base*(1+maxImprovedPW:S) = 2230*1.15 (roughly)

note2: read borrowedTime tooltip carefully. the buff is just an "addition" towards "total absorption"
addition = (1+maxBT)*SP = 1.4*1419 = 567.6

note3: the final addition towards "total absorption" is total SP coefficient
SP coeffecient = SP*PW:S coef = 1419*0.9422 = 1337

therefore, "total absorption" is:
=(base*(1+maxImprovedPW:S)) + borrowedTime buff + SP coefficient
=2564 + 567.6 + 1337
=4469 (rounded up)

for criticals "total absorption" the value should be:
=normal "total absorption" * 150%(because of critical)
=4469*1.5
=6703 (rounded up)


i've sampled with every spell rank with the above setup and it hold true for each of them.

edit2:
also, your original code was bugged.

function AbsorbTracker_AbsorptionAmount(spellID)
...
local impShield = select(5,GetTalentInfo(1,5))*impshieldcoef
...
return shieldamt
end


where, "GetTalentInfo(1,5)" will fetch current rank for "Improved Power Word: Fortitude". I believe the correct one should be "GetTalentInfo(1,7)".

note: for the coming patch 3.1.0 it should be "GetTalentInfo(1,9)" because the swap of location with "meditation"


[email protected]nia
(probably it doesnt matter since i'm level 80 already)
Last edited by p57adxo : 03-20-09 at 02:27 PM.
Report comment to moderator  
Reply With Quote
Unread 03-14-09, 07:05 PM  
Santiclause
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 10
Uploads: 5
Re: Updated absorbtion amount formula.

Originally posted by Moordorjabi

blah blah blah

-- Moor [/b]
I haven't been updating this addon for a while. It was needed during the beta, and nobody else made one, so I made it. Then other people made better versions and kept them up to date.

You can have the addon if you want, and update it to your whim
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 09:20 AM  
Moordorjabi
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Updated absorbtion amount formula.

As of last night (3.0.8 build 9464) with 5/5 Twin Disciplines, 2/2 Focused Power, 3/3 Improved PW:S, and 5/5 Borrowed Time my shield would absorb:

5371 with 1703 spell power.
5635 with 1877 spell power.


The formula being used in the tracker is

(1+impShield)*(1+focusedPower)*(1+twinDisciplines)*((shieldingCoefficient*(1+borrowedTime))*heal + baseAbsorb)

which for the previous tests be

1.15*1.04*1.05*((0.807*1.4)*1703 + 2230) = 5216
and
1.15*1.04*1.05*((0.807*1.4)*1877 + 2230) = 5463

respectively.


As of last night TD and FP certainly appear to contribute and in the same way they do to other spells. Borrowed time is also additive to the coefficient instead of multiplicative. The resulting value also appears to be floored.

The formula

(1+impShield)*(1+ focusedPower + twinDisciplines)*((shieldingCoefficient + borrowedTime)*heal + baseAbsorb)

produces

1.15*1.09*(1.207*1703+2230) = 5371
and
1.15*1.09*(1.207*1877+2230) = 5635


Keep up the good work.

-- Moor
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 11:52 PM  
anund
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Originally posted by affix
Santiclause, I hope posting this doesn't offend you but I thought it might be helpful to non-priests:

http://www.wowinterface.com/download...ldmonitor.html

It is something that monitors all shields, and shows the one that will be absorbed by damage first (meaning, if you have ice barrier and PW:S up, it'll show the ice barrier status).
Ah, good work. I didn't see this one, cheers ^-^
Report comment to moderator  
Reply With Quote
Unread 11-06-08, 12:45 PM  
affix
A Kobold Labourer

Forum posts: 0
File comments: 103
Uploads: 0
Santiclause, I hope posting this doesn't offend you but I thought it might be helpful to non-priests:

http://www.wowinterface.com/download...ldmonitor.html

It is something that monitors all shields, and shows the one that will be absorbed by damage first (meaning, if you have ice barrier and PW:S up, it'll show the ice barrier status).
Report comment to moderator  
Reply With Quote
Unread 10-21-08, 06:04 AM  
anund
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
If additional shields are planned for this mod, then ice barrier should be the first step. With the shattered barrier talent in particular, this mod would be very useful.
Report comment to moderator  
Reply With Quote
Unread 10-06-08, 09:13 PM  
affix
A Kobold Labourer

Forum posts: 0
File comments: 103
Uploads: 0
Any plans to expand this to Ice Barrier? It'd be greatly appreciated.

Absorbs 3300 damage, 80% coefficient.
Report comment to moderator  
Reply With Quote
Unread 09-08-08, 01:40 PM  
Santiclause
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 10
Uploads: 5
Originally posted by DJJoeJoe
Epic.
Yo, dude, you're in DoD? I'm Santiclause from Coilfail, is Bragen and Eleq and shit still raiding with you guys?
Report comment to moderator  
Reply With Quote
Unread 09-08-08, 08:29 AM  
DJJoeJoe
A Murloc Raider
 
DJJoeJoe's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 6
File comments: 172
Uploads: 1
FULLY CUSTOMIZABLE INTERFACE (you can drag it around and that's about it)
Epic.
__________________

Joetest - Ner'Zhul - Disciples of Death
Report comment to moderator  
Reply With Quote
Unread 09-08-08, 05:22 AM  
Santiclause
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 10
Uploads: 5
Originally posted by Manaman
Any chance Mage and warlock shields could be supported. (IE. Mana Shield, Ice Barrier, VW Sacrifice) Thank you.
I'll do my bestest. I had actually completely forgotten about them

At the moment I'm trying the figure out the WotLK combat log events without actually being able to directly test them. Not fun!
Report comment to moderator  
Reply With Quote
Unread 09-07-08, 10:30 PM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 160
Uploads: 1
Any chance Mage and warlock shields could be supported. (IE. Mana Shield, Ice Barrier, VW Sacrifice) Thank you.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: