Resilience Detecting Addon
Posted 03 May 2008 - 10:54 PM
Posted 04 May 2008 - 12:41 AM
Yep, that works now. :]
Is there any way for the number to round, rather than have it display "x has 421.312983901839018 resilience."?
It's pretty simple to have it output an int.
Under where it calculates resil just put something like
resilRounded = math.floor(resil + .5);
and change it to print resilRounded instead of resil:
Kramer_Print(targ .. " has " .. resilRounded .. " resilience");
I'm having a lot of trouble getting it to change based on buffs like Natural Perfection, Focused Will, and Cheat Death.
Posted 04 May 2008 - 01:05 AM
Which are you trying to check, the players buffs or the targets? Quick example of detecting damage reduction for Focused Will which should work fine.
local id = 0 while( true ) do id = id + 1 local name, rank, texture, stack = UnitBuff("target", id) if( not name ) then break end rank = tonumber(string.match(rank, "(%d+)")) or 0 if( name == "Focused Will" ) then local damageReduction = 1.0 if( rank == 1 ) then damageReduction = damageReduction - (0.01 * stack) elseif( rank == 2 ) then damageReduction = damageReduction - (0.03 * stack) elseif( rank == 3 ) then damageReduction = damageReduction - (0.05 * stack) end end end
Posted 04 May 2008 - 01:11 AM
Posted 04 May 2008 - 04:44 AM
Posted 05 May 2008 - 11:45 PM
Posted 06 May 2008 - 01:19 AM
For warriors, I highly recommend calculating based on Hamstring and Pummel crits. Hamstring hits for 63, pummel for 50. You do need to check for impale talent though. Should be fairly easy to do.
That's an entirely different can of worms.
Posted 06 May 2008 - 03:49 PM
Various poison abilities
No idea, maybie they will have to do with flameshock
That should cover most stuff, dont forget to calc with blood frenzy, imp sanc aura, mangle and other things that increase Bleed damages. Would be awsome if you got it working for melee to.
Edited by berzerk, 06 May 2008 - 03:49 PM.
Posted 06 May 2008 - 05:59 PM
Posted 29 May 2008 - 09:49 PM
Posted 31 May 2008 - 01:08 AM
Edit: It still works though, just tried it.
Edited by Rhaegyn, 31 May 2008 - 01:20 AM.
Posted 02 July 2008 - 03:16 PM
I tried SW:P an MF, but there is nothing in my chat, what ever I type, there is the "Ivalid area (is case-sensitive, try all lower case)"-error every time.
How can I fix that?
Posted 03 July 2008 - 06:54 AM
Posted 24 July 2008 - 06:51 AM
Yeah it was amazing, too bad it dont work for me anymore heh
Posted 28 July 2008 - 01:06 PM
Posted 29 July 2008 - 10:24 AM
guys can anyone explain how that works ? and how do i install it ?
Isn't it just like anyother addon? put it in your AddOn map, if you read his explanation you need to config it some with the spells that you use first and such.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users