WeakAuras

display the percentage of aggro?

  • 11 posts
    #1 Mar 12, 2011 at 17:26 UTC - 0 likes

    Sorry for the translation.

    Is there a script to display the percentage of aggro? or a way to display it through (Text).

    #2 Mar 12, 2011 at 20:56 UTC - 0 likes

    Create a Text display, set it to "%c" (or "%c%", if you prefer), and in the Custom Function field, use:

    function()
      local _,_,threatpct = UnitDetailedThreatSituation("player", "target")
      return ("%i"):format(threatpct or 0)
    end
    

    For this display to work correctly, you will have to set the Trigger to something that is active all (or most) of the time. A Status -> Threat Situation trigger without the Status option enabled is a good choice.

    #3 Mar 13, 2011 at 09:51 UTC - 0 likes

    Many Thanks. This displays good "0 ". But how to display "0%"

    Last edited Mar 13, 2011 by andfinnel
    #4 Mar 13, 2011 at 10:25 UTC - 0 likes
    function()
      local _,_,threatpct = UnitDetailedThreatSituation("player", "target")
      return ("%i%%"):format(threatpct or 0)
    end
    


    Its magic :)

    #5 Mar 13, 2011 at 17:48 UTC - 0 likes

    Super. thank you.
    But not if his magic.
    by its cons is magical.

    function()
      local _,_,threatpct = UnitDetailedThreatSituation("player", "target")
      return ("%i"):format(threatpct or 0).. "%%"
    end
    

    But thank you again for the reply ;)

    #6 Mar 14, 2011 at 05:48 UTC - 0 likes

    Or you could just set the display to "%c%" instead of "%c", like I said originally -.-

    #7 Mar 14, 2011 at 07:29 UTC - 0 likes

    ARFF. correct.
    there was a crash.
    I had to relaunch the addon that takes into account its modification.
    THX.

    Last edited Mar 14, 2011 by andfinnel
    #8 Jul 16, 2011 at 12:52 UTC - 0 likes

    I notice that the threat percentage is always at 100% when you get threat however the wow tooltips will show different numbers if you have aggro percentage turned on.. Is there a way to get that value from the tooltip to show in weak auras?

    #9 Jul 23, 2011 at 11:48 UTC - 0 likes

    Aggro Player

    d4JEdaGAOkA9sGgfkY2uroTQMjuvDBPYSfPZJkTijPNl4BsQwgkLDkj2l1UfA)q6NOGggQyCsvDyedfQkdMGHdHdII6uOehdv5CsuTquslvcyXqKLJ0drHEk4XQW6GQ0e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ZhHZ0ebhJesd51rn)fdOlC(P5foL4VVxmGUq2uE6WE2n3zMJjMjMjMjoQp1IyIRawfWoLG1E90zIPgM4zZW7u7nyKrxOeS2r4tTd7z3wxBFnWwxB)TaP91UZmhtmtmtmtCWEkKzIDB98W1UtDS9WE7UDkbR96PZe3dmXBUZmNLPfMYpajjTGkctz4f(wG0UUWGrc75I)At4nGUW20H9mxfH83cxfH09kYOUZYNqYOUZvTPd7zHCkDN11f6FbwwUDry8MqGlXpK1VqpwsOSKiHnAA4H9ClQ6bijPf4Qicour4dqsslOIW7V2eYF7jUqEIkBOLpMyzHajSYdIXsfwiMOIqBOLVqp6zA4H9mxiprLn0YFgbJfcKqCglxCrHtj(77vuG0MWd3nAHjUvLYWlFctCRQfbhAYNWu2gA5lSLExyIBv79u(gTOsxyk)aKK0cQORRleOfyz52fbWBcDgsFkYZbGgpcmiWBGCmYHJXagiwxb4vyld3Bh2ZQiK)w4Qi8(RnH1bJBxyDW42fY2OnDHSWmKtrfH3FTjSoyC7cRdg3Uq2gTPRleslKysYqNjU2UqkgKKYLNEhayWQnaRa51lyVBdglwxbSs4upQhureglphm2liWG8cEdm4TvGxbsSUocGiawEoyd0iaaamEdSJvG8cyKyDDeaDHr9gTkctCRAkQX5IkHHEKPIW9u0HQORlmXTQP(ovTlFcNIACUkc5WmzKj0LzjuwsKW9u0HQi0PljU4Itiq9aVlf5ti1smrlUGhor(e6YSekljs(011f(aKK0cQi8(RnH83EIlmLTHw(cBP3fMYWl8TaPDHjUvLYWlFcNs833ROaPnHhUB066c5cdoabs4qrWbGTnDja
    
    Last edited Jul 23, 2011 by andfinnel
    #10 Jul 30, 2011 at 13:49 UTC - 0 likes

    How can i setup WA to show a symbol at for eample 95% aggro?

    Would be awesome!

    #11 Aug 06, 2011 at 05:12 UTC - 0 likes

    Texte box = %c %

  • 11 posts

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