#Mastery percent increase % total on party/raidframes

47 messages · Page 1 of 1 (latest)

true peak
#

I want to know if it's possible to create a Weakaura that calculates the Mastery: Harmony passive Restoration Druids have on their raidframes. By that I mean not just a counter for hots, but a counter that multiplies the percentage increase for each hot based on the druids current mastery percentage timed by the amount of hots

#

!WA:2!1AvtVTrry4gYbelOQwxPqPFq3wevafCS3no2UhqKnjMeiFXghsRQQwp7UZ6DA3D2vZmBsCpAHe9k(NGpZj)tih50qaXpGCMt9xaVZUUjTfh1csDLS97SVF(8mZ774PAvkUKFj)NwHLKjIiumBZDAV2QBSS7(OUjRU0G13WA)NSY9BUPTxsuc77MgEg5t4PrOETXhiU1N6n0lJlsIvRo4D(7GmQNGKq)SpxthEib67IrpEHmgIxEv(MPkDWpyWaDriMQZWImgv3uht9ZD55(HaFCW09kZfibMRJO(V67Eq1hwMhMS)e1zmwNkl5XCYX9bMpuj59y(lBP6zCTnHSgJeEHlMKrfBHz7qjc97mPc4nXStY)jPghXXVLRJtZ1ywxLZjqo))ir9xF1)wLAgh8nFn4v7)AfQ98iO(OPX6Tzqahl(YZncr9ctyBLqOI(T3Cl7v)2vANQ)cnkobjmiGoPocsmE8QPsVWPnp7K6dz1gVhMkogLbVfjiE7s8fHwlalzO8gl(82q5XeAUbekHhQzru4RVGr62fZ40BZgl(0lECghVUcfoEky0zGcHuumMRDSxsSl0WpgADSlE9O4tnVuLH(y3SGG29sXSvwETTATZAdvhhwmkHI5DSeGcBvmnou9npfhfr85)Mr96Zz1OP582Z1yoZgUvRvVzdd3QvmmRz4AuVz9MMUgvQB2yEqxT61RdRQy2OPRzdZQnnTnmAm3y7RkpV7kyuKi8zaAw(aGf2wLNv970NxiW1yGQnaaeALbGXUlmol9yEMBozUfdhqoWE7TwET1o5LBd4ICWiNfxy72oB3Eb72Px6fWomHIHaoV0xpawvWNA3woZtVO8d7iV8Dp0g)Omioi1wsFBmKX9fHdwJeGDJssILFuh5v0KxTuf51Kxx(XDK3qQlV5xyBAwFEt3QnAuRwf55LLLZ2rwrtwnuAinLZjRjNxwx2O0xlBQY3Fb(zKwcGNdYLNWYPI1t8XDCfOiahZyhNfjiZC5Pg87DSacX79KN)W2560)EAY(0HkNlmoCGs2lcX5Do(0yMhV(Q1k)lKu8yhPHR68lMzN7J9s27S6s5aQPM6wGhLpSFpSbI2l9IOC52fKLkM)65sV6eBbkeSvDc(P3(S7sIWDrE9CcagLf2F)eM)UmuA)DhlyfKqfPxOfJ8e9Fid5d7yi92Tz7bTbW2Y7pe2SHTgvtZvMrEJJGLUW0e1PdQVvucYp44CG5a3FKJ9zC5eA3i8Fi)MzKlOvq8VSjDKwkvYVt9TfN8eSsOVQu2gwCtGrZyEyxsCActCepe5NS)9kgum9e5dVXcwuORAahhfKphr((dHtOy)8ja)0hmKLJevVOLa8(zGjygff9JfO9xmYyrPxnuis53D2zv3FxMKm7jxGpBT0gti5v)3J5C8XEKyuKtkdeuXEAJmI)iiD9wNxL0ZO6yyD)cyDTZL(jN9M4Pr5zftjBXGovfogSZgR2UL9cRV8aeLeN3lnVSuRdXioEBbdt7kcFxOdW7iFy8IsTJAKdJJ9sO(8(k7ubs6zfJi0wsEU1sHmtUh87LE13CemxfQGX)nen2JGPVKGEwRTCR2dfjEJp5C5P(z6Ti(Px3gdtN1xIbWxFDexXa65ufMPB4YXXGd2vlxP8CJcuOckA4m40PF1BitxOYDJSyxmJDWZVoXfGxaPRw6DoBA1VhmXM45iczyyMCKFV0BD2whN47aLgUZOIDUfZ)3Ctn1utpurLKc(yeHw4gSsRe3Tw5QgLNV0E)59(Np

#

That's Phoenix's hot counter with a few spells I added myself that were missing

#

it counts the number of hots, but I was thinking it would be better to know "How much stronger is my healing on the target" based on that amount of hots

#

and my mastery

#

in percent

#

I'll think out loud in here, that usually seems to do the trick.

#

function()
if WeakAuras.IsOptionsOpen() then return 3 end

if aura_env.states and aura_env.states[1].show and aura_env.states[2].show then
    if aura_env.states[3].stacks then
        return aura_env.states[1].matchCountPerUnit + aura_env.states[2].matchCountPerUnit + aura_env.states[3].stacks
    else
        return aura_env.states[1].matchCountPerUnit + aura_env.states[2].matchCountPerUnit
    end
elseif aura_env.states[2].show then
    if aura_env.states[3].stacks then 
        return aura_env.state.matchCountPerUnit + aura_env.states[3].stacks
    else
        return aura_env.state.matchCOuntPerUnit
    end
else
    return aura_env.state.matchCountPerUnit 
end

end

That's Phoenix's code..

If I could add a fourth trigger that just gathers the mastery percentage and then time that with the amount of hots then it should give the correct percentage, or perhaps I'm wrong

#

aura_env.states[4].value Would that contain the mastery of this trigger?

north acorn
#

!devtool

#

!vdt

random swiftBOT
north acorn
#

Get that and just add
DevTool:AddData(aura_env)to your Actions - On Init code

open /vdt, open the table, go to states[4] and see what value matches your mastery

true peak
#

Oh.

#

Yea that makes sense because

#

I made a quick weakaura just to return the value in a custom text field

#

and it gave me a table value

true peak
#

I think I found it

#

ok trying it now

#

Ah I see all the values yea

#

So it's state.masterypercent?

#

aura_env.states[4].masterypercent

#

Perfect it works

north acorn
#

👍

true peak
#

Didn't know there was a way to get all this info

north acorn
#

Yea that tool is insane

true peak
#

Absolutely.

#

I feel like I can make pretty much anything with WA these days

north acorn
#

Remember to remove the AddData part from Actions On Init 🙂

true peak
#

And whenever I get stuck you guys help right away

#

oh yea I did

#

Figured it'd clog it up

#

heh

#

There it is

#

if anyone has questions about it in the future

cedar cipher
#

Someone posted a profiling of the mastery counter I made and it was extremely resource intensive. I sugguest not using it.

true peak
#

Or raiding etc?

#

Haven't seen any problems with it thus far but I'll try to profile it

cedar cipher
#

idk just know that it's a resource hog

true peak
#

Yea ok I'll try a different method for it