WeakAuras

Wild Mushrooms

  • 3 posts
    #1 Mar 06, 2013 at 22:43 UTC - 0 likes

    I'm attempting to track my Wild Mushroom overheal fill % using a bar that tracks time left on the mushroom and the following custom LUA:

    function()
        --local haveTotem, totemName, startTime, duration = GetTotemInfo(3)
        local current_value = select(16, UnitAura("target", "Wild Mushroom"));
        if current_value then
            local max_health = UnitHealthMax("player");
        local current_percent = ((current_value/max_health)*303);
        local current_return = string.format("%.0f", current_percent) .. "%%";
        return current_return
    else
        --return totemName
        return 0 .. "%%"
    end
    end
    

    Everything works above if I have a Wild Mushroom targeted. I haven't been able to find the replacement value for "target" though, that let's me track a mushroom without targetting or focusing a mushroom. I've tried Wild Mushroom, which is what the name returns when using totemName as seen above. I've also tried every variation of the different types of totems, which is what WoW tracks the mushrooms as, I can think of.

    Anyone have any thoughts or luck attempting to do something similar?

    Thanks!

    Last edited Mar 06, 2013 by jmhilton
    #2 Mar 07, 2013 at 14:00 UTC - 0 likes

    Im into the same pickle here...

    I can grab the "healing buff" that the shroom has, but can't get WA to target the damn shroom without either having it on focus/target

    I see alot of auras that simply read the combat log and they work preety well, yet i wanted a simple "read the buff value on that unit" type of aura for lower CPU consuming =/

    cheers! guys! help us please!!!! we want to rock as druids! and we need your help!

    #3 Mar 16, 2013 at 14:01 UTC - 0 likes

    From what I understood, there is no way to target a totem (mushrooms are totems) using API, mainly for pvp reasons.

    As consequence, there is no other choice than parsing the combat log for the healing events. This is what the following 2 solution does (that's not my creation at all)

    THe forum link below shows one weak aura sample, and one good addon that does the same, but display in a pretty neat fashion.

    Hope that helps ;)

    http://us.battle.net/wow/en/forum/topic/8088209593

    dKuPFaGiuKlHOqgffvNsHyveP8kKk1Suu5wiQ2fkQFHOqnmfLJHuwgr1ZqHPPQ01urABQi(gfjJJivNdrP7HkTpefCqkSqks1dvvvMOIQCrvu2ifrFuvvAKkKCsKQALkzMQQIBIuXovO(PcPgkfblvvv1trvtvvLRQIQTsrO8vf5SuesZLIqSxk9xQmy4Wu1I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GNZWbjvWhEhedSHjJGGLDGTviecHqiWk0xwIGM9kAfcHGGGulbbPwTA1QvRwTA1QvRwTA1QvRwTA1QvRwTA1QvRwTA1QvllVSTqgzA5fCeeAlpR4n6pcwVEG1YZLRLx2vPhEoTzFewEbhbH2Yt4FcL9NDmnlpVNJNEIW)h8SwTvB53Id6T12XFLULN0H6dL3mETxgzQS8KrYS8ZFGLKG9ms0ty5nDQdtZ08SKc)ggO0hFS8ZFGLKGL)W0e2Xs3YFiBGWPoijS8)5mt(ZYp)bwsc2rlrIsOTJLB51cP08hMMWow(xlVSbQbw7p7yA2X0SJLBhtZoMHDmn74V2X0SAl)LqZEqp6jyT)S8YUk9WZYl5sitFmqemFKwHqiCiX8jd37Q2oVm9ib9wqeyf6llrGyqhmFYW9UQnTWaByYW9UQT8WaByYW9UQnJrcccsTeeKA1QvRwTA1QvRwTA1QLvB5vAVmYu9VbcT)G4ji0wE6pMN(Z7mlV(4jy5pmnHDS8VwEpjsh6JbcpLtZEqp6jyv2FwTLN4((XEqp6jyv2X0S801bj92oMgJtT8KouFO8M9tiL()h0BRT8KrYS8hKS805Q2SddVWFzhOl92YpFVmYKESdxcs)BGAG1(ZoMM1KMIS0KlF2jFN9L2jFpHXjwjKF6P2XYTM0uKLMC5Zo57SV0o57jmoXkH8tp1oMH1KMIS0KlF2jFN9L2jFpHXjwjKF6P2XFTJPz1wEzdduKgOlcRPB1wELLNgZFz2umlDlph7yAFNnZQTwa

  • 3 posts

You must login to post a comment. Don't have an account? Register to get one!