1. #1

    [Weak Auras] Vengeance bar

    I've been using a vengeance bar addon on my tanks to keep track on how high my vengeance gets. All it does is increase the bar display and the text as my vengeance rises. I'd like to duplicate it in WeakAuras instead of having a seperate addon for it.

    I can get the progress bar to display my vengeance size with the bar text just fine however the bar graphic itself will only display the time remaining on the vengeance buff. As in, the bar depletes as the vengeance buff wears off. I would like the bar to increase in size as my vengeance goes up but cannot figure out how.

    What I'm using for settings:
    Trigger:
    Type -> Aura
    Use Full Scan (High CPU)
    Aura Name -> is exactly -> Vengeance
    Use tooltip "size" instead of stacks

    My string if you want to take a look:
    Code:
    dau8eaqjrvmkkI6uue5wkj7cK0WeXXG0Ye0Za10uPRPQ2MkY3iOXrOZPK6EIk6GuuwibEifPjkQuxeKQnsu9rQQsJuuLoPs0lPimtqk7uHFkQKLsvv1tjnvv5QIkSvLqFLQQYCfv1Er)vKgmfvhMslgepgIjtHllzZIYNfy0uvoTIEnvrZwPUTkSBO(nWWjkhNQQy5u55cnDPUor2UsW3PknEqIZRIA9uvz)ufMO8rDsDjUlxMfPYFjcahZxLv7DQ6ZAa8MMdSpW(SCxH97m1ivuOEHQqOUM6bvdQg8rn2wepJ60VId0eQqaoJYzkydC8XbkhjCeYrchWCKWXLdu2uTi9eGJ8rn2wxZhvdqAWg4LqOgSbEtZC2JI6sa2mKEcWcK6gGffPgSbEtTi9eGPg9b8YMA2epJ(4JQbinyd8siud2aVPzo7rrDjaBgspbybsDdWIIud2aVPwKEcWu9nnk2SPkfRhaS7PmcHQfppS9eG5JASTUMpQYCvSAQrztNDZMn12ndckhFuX2JkfiRC2g4OMZCsfrk2GJuFtJIAppkdQs4AHc3uTsnGQuSsX2JIcOgLGGaKWnfqfBpkQlw4GYIrkQsXkvcpBkGk2Eur(4aL6IfoOSyKIn1mP9oIyXuaBQqSotbBGJpoqP8tIIcf)IHF4tH)7PlZw9H5iKYff(xV(gkMCpHMiEfz2Q)joGPCry4tjcVNsUWIcfEVmB1)ZMQXmkBBp)kO0qRYAQ5b7H5MCEIMe1nWAWhvPyLISTXifq1b2fFupK29Kp2SPkfR02UlCtiuLIvAuwHqbuJYke(OgN4GDXbk1dPDp5JdykGJqkGnBQiBBmYh14ehSlQ5g6M9YRjgl938(OEiT7jFu9pZ8FOLltnbfWMn12UlCZbkmBQDbLwN(vCGMqfIfXtdhqMPGnWXhhOuUi66RqXFyYfgfgwimZw9H5iKYffgEpfMC)3)6WW)NzR(WCC5iHnviaNr5OaQqaoJYbDJGIQzopxIxOWnWD2dZv)rY6kpmpKQRcMa87SSIQvYzHyDuJTfXZiHqDIaWPXPrrfAqx(JAxqPLCfv9aaAFEy(cHu75r50PFfhOjuHyr8mWbKWgMc2ahFCGs5)1Wx0)vmbgne(kuKzR(FocP8)A4l6)kMaJgcFfkYSv)phWu(Fn8f9FftGrdHVcfz2Q)NJlhOSPonOUyHdklgP8W8CBcQENgTpocH)uHaCgLlxzzXQ54sflD8CZGGYf5aLnvlFuxSWbLfJuuxI7YLzrQ8xIaWX8vz1ENQ(SgaVP5a7dSpl3vy)oZM6cCGEtsytca
    This is the addon I would like the bar to mimic:
    http://www.curse.com/addons/wow/vengeance

  2. #2
    You have to use custom code to do that, what you've done is basically as far as you can go without it. Here's the string for the vengeance WeakAura I wrote for my monk if you'd like to tinker with it a bit:

    Code:
    d8KlmaGikXLakXOubNsfAvqs9kksnlvQULKK2LkP(fqjnmcCmv0YakEgKKPrrY1KuSnqv8njjgNkbNduLUhb1bbYcbv1dPumrvIUirAJsk9rIOrsPQtsIwPeVeOuZesCtvk7eGFsjnujvhvLqSuGQNc1uj0vPOYwPu5ReHZsrvRLsPQ3srXCvju3Lsj7vQ)sHblomvTyjXJjQjtsxwXMHuFgugnb50qSAkLIxRsYSPIBtc7Mu)gKHdOLRKNRutxvxNkTDkIVtrPXlj15bvwpLsP3tPu5(Qes7hDF2InwrJvBSAl2yvKnqhpCIt1FJblYnw2D)qkeNQ)gJ2vl)iqAMdhzyHHHHznV7sZibid7gnSXRLhgOfJflSmA1gxT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yyyyyyy8azeMXdKX0mEG1Nf(xmOMz)(FBglkfLEZ4M1lnWIGlfGKI2BGT3k4IwSfdQzoVwqnSWWWWWWWWWWWWmAvwyyyyyyyygTklmmmmJwLfgggMQwvGle9FWd8ilmmmmsaYWUrdB8A5XOIFpmcZ4bYYOvzHfwyHfwyHfwyHfwyHfwyHfwyHfwyHfwyHfwyHfwyHfwyPXYU7hsHHqiQtJFefJA)n2v)leyWMvl2F)934hrXSQfs)n(gCleVkJnqA1rVhvgjMkn2SiQVqnGQiOXQiBBJRw(rmzA434kql1zPuVNVbC2yvKnqhpCIt1pkd6VXmnwfzd0XdNsziDJvQ)zH2lpxSszi9(IXahhhdSqEviZAyJq(LIgVhh01Hq0FJHVvrrR3qrATI934DJxGbEbtJnPbCAkbc6VBa
    It should work for any class (and level, mostly), just make sure you change the load triggers appropriately of course.

    Feral Druid Maintainer of SimC // Moderator at Fluid Druid forums
    Pawkets' Armory
    // Pawkets' Pro Raiders // <Forgotten Aspects>

  3. #3
    That definitely works, I just edited it to look like I want. And change the triggers of course.

    Is there anyway to get it to hide when I have zero vengeance? I changed it to hide when I'm out of combat so that works for now, just wondering.

    Thank you

  4. #4
    Sure, I'll explain what to change since it's pretty simple but you can skip the import string below if you're not interested.

    First we have the "Custom Trigger" in Trigger 1:
    Code:
    function()
        WA_Vengeance = select(15, UnitBuff("player", "Vengeance")) or 0
        return true
    end
    This controls when the aura goes from hidden to shown, the first line simple grabs your current vengeance value so the rest of the aura can use it, and then second line "return true" tells it to always show the aura. Changing it like so will make it only show when you have Vengeance:
    Code:
    function()
        WA_Vengeance = select(15, UnitBuff("player", "Vengeance")) or 0
        return WA_Vengeance > 0
    end
    The "WA_Vengeance > 0" is statement that will either evaluate to true or false each time this code is run, in this case it will evaluate to false when you don't have vengeance which means the aura won't show.

    And then the second change is you have to add a "Custom Untrigger" which is the code that determines when the aura should go from a shown state to a hidden state, you can do that like this:
    Code:
    function()
        return WA_Vengeance <= 0
    end
    This will make the aura hide whenever you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IdgggggggggggglbdUoSF)VxZbdddddddddddJz1B6l543)7dUWkeamZ(9)EnhmmmmmmmmmmmmUqsExg4VKFdgyg4VKFFcZiddAGzqZbddddddddddddSaM97)T5Szsudq6azfG63II32ju6hTIQgK0X2BfjrBwK5fUuCWWWWWWWWWWWWWWWW4bZidJhmJSz2V)3MZMjrnaPdKvaQFlkEBNqPF0kQAqshBVvKeTzrgoyyyyyyyyyyyykLbhmmmmmmmmmmmmWcy2V)3MZMjrnaPdKvaQFBMjumjAEDS9wrs0MfzEHlfhmmmmmmmmmmmmmmmmEWmYW4bZiBgp4J18(eMrwm73)BZzZKOgG0bYka1VnZekMenVo2ERijAZImYI5cWOxLdgggggggggggMszWbddddddddddddSaM97)T5Szsudq6azfG6yrK0aYmr71X2BfjrBwK5fUuCWWWWWWWWWWWWWWWW4bZidJhmJSz8Gpwt8pzKfZ(9)2C2mjQbiDGScqDSisAazMO96y7TIKOnlYilMlaJEvoyyyyyyyyyyyykLbhmmmmmmmmLYGdgggMszWbdddZsxk4jS6p4bVMdgggguV11UuNLxjv6l87IrggpyokLbhCWbhCWbhCWbhCWbhCWbhCWbhCWbhCWbhCWbhCWbhCWbhnwYz)qY1fg2OA8dlVm6VXoQFcFEwZwS)(7VXpS8AUcK6BmqioH9gm2bPmk1UmyqTw0ylbB8c3Gaa0n2aEJqDuspSwvJ8gVaAAuttQD9nORgBaVb76ruSw(rPe8nMPXgWBWUEenjbPASj1xtbEPsOzscsTfAyWLRRowyVbKL0Tty)uEJ3LRGJqWQVXi3QOOvGqrZkI934DJNaczbuJ1QbDzb0O7VBa
    --------------------

    Edit: Woops! I forgot that the text part of the display is a different aura. If you want that here's the string for that as well:
    Code:
    dae(faGiuvxcrvJcjCkuIBrsHDPq)cLQHPkhtrwgPspJKQMgjvUgs02uu8nfW4qu5CKuAEOKUhIshuvXcru4HkkPlsQOnsQWjvvswjcVuvj1mvvkUPQsPDIQ0pvuQwQQs4Pu1ujvDvfLYwvqFvr1Ev5VKKbdhg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zOE6pVZYuXPWSwhzCEAxf70FEsokcTt)joX5DwMQfBg3rgNFXMXD6p)stURyhVtN48CkmR1P)8ln5UID(VD259RpXjoVg1Zp0K7gJKZcFdZxAkN48RZtRRA198F)4DsDV3jUda
    Last edited by aggixx; 2013-05-12 at 12:42 AM.

    Feral Druid Maintainer of SimC // Moderator at Fluid Druid forums
    Pawkets' Armory
    // Pawkets' Pro Raiders // <Forgotten Aspects>

  5. #5
    Thanks aggixx, your strings are awesome!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •