WeakAuras

Vengeance

  • 20 posts
    #1 Oct 28, 2011 at 05:54 UTC - 0 likes

    Hello,I wonder if there is a way to show AP gained by warrior's aura Vengeance with Weakauras?

    VengeanceAP/VengeanceAPMax and the percentage.

    Just like this one http://www.wowace.com/addons/ldb-vengeance/

    very thankful.

    #2 Oct 28, 2011 at 17:50 UTC - 0 likes

    As a simple solution, you can try to use an aura trigger, enable full aura scan, enter vengeance spell (93098), enable use size instead of stacks, set unit to yourself (buff). When you use %s (stacks) as the icon/text-text this might already work.

    If not, come back here and I'll try to create a custom trigger :)

    PS: If you might happen to only be interested in your overall AP anyway, you could also use this trigger: http://www.wowace.com/addons/weakauras/forum/27580-haste-tracking/

    Than use this as custom text function: (use a text trigger)

    -- Custom text function
    function ()
        -- Update every second only
        local now             = GetTime();
        WA_STATS_LAST_UP = WA_STATS_LAST_UP or now - 1;
        if now >= WA_STATS_LAST_UP + 0.1 then
            -- Shedule next update
            WA_STATS_LAST_UP = now;
            
            -- Current values
            local apBase, apPlus, apNeg = UnitAttackPower("player");
            
            -- Return text
            WA_STATS_RETURN = string.format("AP: %.2f | %.2f | %.2f", apBase, apPlus, apNeg);
        end
        
        return  WA_STATS_RETURN or "<no data>";
    end
    
    Last edited Oct 28, 2011 by CommanderSirow
    #3 Oct 29, 2011 at 09:09 UTC - 0 likes

    Thanks very much.It works nice now.I guess I didnt enable use size instead of stacks.But how to show the percentage of VengeanceAP/VengeanceAPMax?

    By the way,I like this addon very much and I'm trying to persuade my friends to use Weakauras by showing them how powerful it can be.But with litte knowledge of Lua and poor English,I feel I can do little about custom functions.So please forgive my silly questions.

    #4 Oct 29, 2011 at 10:43 UTC - 0 likes

    If you want to see the actual AP value, use this custom text code. (Input %c into text field).

    -- Custom text code
    function()
        -- Throttle variables
        local now = GetTime();
        WA_VEN_LastUpdate = WA_VEN_LastUpdate or now - 1;
        
        -- Throttle update
        if now - WA_VEN_LastUpdate >= 0.1 then
            -- "Shedule" next update
            WA_VEN_LastUpdate = now;
            
            -- Calc current vengeance
            WA_VEN_GetVengeance = WA_VEN_GetVengeance or function()
                -- Query vengeance buff
                local name = select(1, UnitAura("player", "Vengeance"));
                
                
                -- Vengeance buff available?
                if name then
                    -- Query stack count and scan tooltip for "size" info
                    -- NOTE: Size means, searching for a number in the tooltip text
                    local count = select(4, UnitAura("player", "Vengeance"));
                    local size = select(3, WeakAuras.GetAuraTooltipInfo("player", name, nil))
                    
                    -- Return either size, count or 0
                    
                    return size and size ~= 0 and size or count or 0;
                    -- No vengeance buff
                else
                    return 0;
                end
            end
            
            -- Calc maximum vengeance
            WA_VEN_GetMaxVengeance = WA_VEN_GetMaxVengeance or function()
                -- Get formular variables
                local maxHealth     = UnitHealthMax("player")
                local effectiveStat = select(2, UnitStat("player", 3))
                local baseStam      = min(20, effectiveStat);
                local moreStam      = effectiveStat - baseStam;
                local moreHealth    = (baseStam + (moreStam * UnitHPPerStamina("player"))) * GetUnitMaxHealthModifier("player");
                
                -- Calc max vengeance
                return ceil((maxHealth - moreHealth) * 0.1) + moreStam;
            end
            
            -- Query vengeance values
            local ven = WA_VEN_GetVengeance();
            local maxVen = WA_VEN_GetMaxVengeance();
            
            -- Update return text
            WA_VEN_Return = string.format("%.2f / %.2f (%.2f)", ven, maxVen, ven / math.max(1, maxVen) * 100);
        end
        
        -- Return text
        return WA_VEN_Return or "0";
    end
    

    (This is basically a rip-off of the LDB plugin, assuming I didn't add any bugs, this should work)

    PS: If you use this custom-text function, you can disable Full-Aura-Scan.

    Last edited Nov 01, 2011 by CommanderSirow
    #5 Oct 30, 2011 at 04:53 UTC - 0 likes

    I have been puzzling over this issue for some time today, and my admittedly very little amount of experience with this stuff has proven fruitless.

    When I use the first string you posted, it worked fine, but there was just too much information. What I want is what I think the second string is trying to do.

    As it stands, the second string puts a series of numbers up. I get 0.00/13493.00 (0.00) which is (I am guessing) supposed to be VengeanceStacks/vengeanceCap (percentage of cap).

    The problem is, while I am stacking vengeance, the VengeanceStacks is not displaying (and consequently the percentage is not changing). I hope this makes sense and is enough info to help you provide guidance.

    #6 Oct 30, 2011 at 05:19 UTC - 0 likes

    I kind of came up with an inelegant workaround.

    I modified the last few lines of the code you wrote.

    WA_VEN_Return = string.format("%.2f / %.2f (%.2f)", ven, maxVen, ven / math.max(1, maxVen) * 100);
    	end
    	
    	return WA_VEN_Return or "0";
    end
    

    to

            WA_VEN_Return = string.format(" / %.2f (%.2f)", maxVen, ven / math.max(1, maxVen) * 100);
        end
        
        return WA_VEN_Return or "0";
    end
    

    I then added, in the "Right Text Display" %s to count the stacks.

    I intentionally kept the non-functioning percentage, to remind me to fix the issue. I am posting the entire exported string below for troubleshooting. Thanks much...and Great Addon!!

    dO0rpaGiK0LGkYOiWPifRcvOEfPu1Siv5wic7cc8luH0WqfDmiYYivvpdc10Os6AOkzBuj(gIOXbfY5GkSoqrEhe19OsTpOIIdsPSqiKhskvMiQqCrOOnIk4JqqJKusNekyLuvZKuk3eku7Ks1prvQHskXsrK6PGmvsLRckSvc6RikZfuu7LI)svgS6WeTyufpMsMmsCzGndL(mQQrdv60qA1qfvEnurPzJWTbv7MKFJudhvA5e65uX0r56qvBhrY3jvLXdkDEevRhQOQ9lBqYOZaHAGWGIbeXkTaWmgSOvoWSnEqjqzK7PfjHKcQYdcxuabfAScbk(aPYcyGCmqiHaxrGR8yGGBGOyGOy0zGGL3yX6aygoWlKCHKiHdetsKiP(rcjKqSlgSKWfxmqw4Dy0W1bGLzGWIxzXqPvc0KF3DtqBjjAfT(A3ncbmDOWbc0GC(D3nz28eIPDpTjDyWGlfjd0UBYS5jet7EAt6WGbxksgOPfBfT(As0iHC(D3D(D3nk2wrRVMenz28eIPDpTjDyWGlfjd04mUBorasndxGk)U7U7UjZMNqmT7PnPddgCPizG2DRO1hY53D3D3D(D3D3DJITv0SMmBEcX0UhKLuPdLBZWfOYV7U7U7U7MmBEcX0UhKLuPdLB7U1orGKb4GOeoqavekHd0rttWq5svVMkz28eIPDpilPshkxQ61kuc9AQiuchOJMMGHYvhaoxc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U7UBcAljrdNweaXKW7U7UD3aSybwmusbGyswtIMhPdaIjHJC(D3D3D3D3D3nbTLKOHtlc0kqsWWT7UD3c4r6aGys4T23cGtlcGys4nh3WqHY0Qw0cqeIjHJQKcOYLqsoqKQgnAAoUriGbdfkdJLWQvGKGHlgttbflkquavUesYbIu1GC(D3D3D3D3D3TiGHxu1waucbcGlHvRajbd3MenCArGwbscgUAAoU5ebiPP1(goTiaIjHJC(D3D3D3D3afL87U7U7gOOKF3D3D353D3D3nbTLKOjfq1UBYS5jet7EieWecu8bsLfqGgKZV7U7UBcAljrdxcRqGQD3KzZtiM29qiGHXsyfcu8bsLfqGgKZV7U7U787U7U7MmBEcX0UhPbm8IQ2D7Werv8rawAr4sMaQnhTXjeOFSTaCcb6hRgQ61WLWkeO0Rjfq1C0gUKHlcGlHvas61WLWkeO00CCJeNCQb587UBGIs(D3D(D3TiGHxu1KzZtiM29inGHxu10InvoPIC(affdeteLpFGOrNbsINrBrqRagEmqoCbeeyGIbchiMtCGrgiA9P4TIGCdImqkjCGJrNXosgiHafFGuzbmmdKdEESOXRygezGOaCy4vOmdexcj5ardKsch4rZfikz0Igi3UnqoCbee2LWbgiHafFGuzbmqs8IsDKZfyGqem4ahmq4vasbumdedfoGIbcqkGIzG0oA48izT2O5BGW7a8K4fL6iNlWGideEhGNschyqKbcVdWZHlGGWUeoWGidKschyGecu8bsLfWa5GNhaPakgeESyrH1a5zdgK2MNnTOfTHbm5igi8oapkahgEfkZGidew8eeowsLbrgMbclTIzG4iOsEiOnq4cq5JlZWbE5I(XHRyKlCYlCqso5LRK0fdws4kgzGiOLum6mq4DaEweshhdImqI0eaJodeC8emuJodZWmq4DaEoCbwgezGC4cSm6mqoOk(eaJDeBygilcPJJrNbYbvXNayGiZgPjng4nPnmdZaHLwXGqX5bg7i5QbseWhLwPJCUadKeVOKhPObYHjTWzDm8yGqTOvEoOuagiTHjh0zGyayz4fbgiBe4HJQqXd3arb1HlHKCDayzKgLpUmdeo504KLbcLIbsiqXhivwadKcpCDIO85deDm2rYaPpukmCnCGxigXCIyC4co4Lli2fKCfJC1GLeU6QbsINrB4XaroVXI1bWmCGeKejsssxqIt9tsCWlE5csUGydws4QRgikOoCjKKJblALbcdkgqeR0caZyWIw5aZ24bLaLrUNwKeskOkpiCrbeuOXkeO4dKklGHzGKgDgiHafFGuzbmqyqXaIyLwaygdw0khy2gpOeOmY90IKqsbv5bHlkGGcnwHafFGuzbmmdePm2rYvo50Wmga
    
    #7 Oct 30, 2011 at 11:13 UTC - 0 likes

    The problem is probably that there is some bug in the tooltip scanning. I updated code to use WA tooltip scanning (size instead of stack count) instead. Hope this works now. :)

    #8 Oct 30, 2011 at 14:10 UTC - 0 likes

    Great, thanks!

    I have installed the latest Alpha Version via curse client, but I wont be able to check it out for a few hours yet. Will let you know how it works when I get to test it a bit. I am hopeful it works, as that will be one more addon WeakAuras has made obsolete for me.

    #9 Oct 31, 2011 at 01:21 UTC - 0 likes

    Ok, i tried this out.

    First, I realized you meant you updated the code in post #4 of this thread, not the base code of /wa itself, so i reverted back to release version vice the alpha version.

    Second, I completely recreated the aura from scratch using the code in #4. It wasn't working.

    After I looked a little closer, I think the spell you are are using (93098) is actually the Prot Warrior passive ability. Whereas, you would want to use spell ID 76691, which is the actual buff all tanks get from their respective passive vengeance spells.

    I did try changing them about in the code you posted, but still couldn't get it to work.

    All that being said, I cant help but think the "problem" is something simple that i am just not getting.

    i do appreciate your looking at this though.

    #10 Oct 31, 2011 at 09:41 UTC - 0 likes

    Sadly my wow subscription ended today (and I'm not going to extend it), so I'm unable to debug this on my druid tank. (Don't fear though as WoW is "free to play" till level 20 I'll still be doing some work on this addon, I just can't fully cover full end-game support)

    If you are willing to debug this yourself:

    After

    local name = select(1, UnitAura("player", 93098));

    add

    print(GetTime(), "Name:", name);

    Before

    return size and size = 0 and size or count or 0;

    add

    print(GetTime(), "Size:", size, "Count:", count);

    If no "_ Name: Vengeance" (but rather "_ Name: ") shows up in chat while gaining Vengeance the spell-id is wrong. If size in "_ Size: X Count: Y" is zero (while you have the vengeance buff) and count is > 1, than vengeance amount isn't scanned by looking for a number in the tooltip but rather the amount of stacks. If so, replace:

    				local size = select(3, WeakAuras.GetAuraTooltipInfo("player", name, nil))
    				
    				-- Return either size, count or 0
    				return size and size ~= 0 and size or count or 0;
    

    with

    				-- Return count or 0
    				return count or 0;
    

    If count <= 1 AND size is always zero, than replace:

    				local size = select(3, WeakAuras.GetAuraTooltipInfo("player", name, nil))
    				
    				-- Return either size, count or 0
    				return size and size ~= 0 and size or count or 0;
    

    with

    				local text, debuffType, size = select(3, WeakAuras.GetAuraTooltipInfo("player", name, nil))
    				print("Text\n:", text);
    				
    				-- Return either size, count or 0
    				return size and size ~= 0 and size or count or 0;
    

    and post output here. :)

    If no "_ Name: _" shows up at all, than there is a (typing) error in my throttle-code. ;)

    Last edited Oct 31, 2011 by CommanderSirow
    #11 Oct 31, 2011 at 18:09 UTC - 0 likes

    Sorry to see you leave the WOW community, but I am (selfishly) glad you will continue work on the addon. Which has proven to be my favorite one to date.

    I hate to say it, but it might be a typo in your throttle-code...:(

    I dont even know what throttle-code is :P

    -- Custom text code
    function()
        -- Throttle variables
        local now = GetTime();
        WA_VEN_LastUpdate = WA_VEN_LastUpdate or now - 1;
        
        -- Throttle update
        if now - WA_VEN_LastUpdate >= 0.1 then
            -- "Shedule" next update
            WA_VEN_LastUpdate = now;
            
            -- Calc current vengeance
            WA_VEN_GetVengeance = WA_VEN_GetVengeance or function()
                -- Query vengeance buff
                local name = select(1, UnitAura("player", 93098));
                print(GetTime(), "Name:", name);
                
                -- Vengeance buff available?
                if name then
                    -- Query stack count and scan tooltip for "size" info
                    -- NOTE: Size means, searching for a number in the tooltip text
                    local count = select(4, UnitAura("player", 93098));
                    local size = select(3, WeakAuras.GetAuraTooltipInfo("player", name, nil))
                    
                    -- Return either size, count or 0
                    print(GetTime(), "Size:", size, "Count:", count);
                    return size and size ~= 0 and size or count or 0;
                    -- No vengeance buff
                else
                    return 0;
                end
            end
            
            -- Calc maximum vengeance
            WA_VEN_GetMaxVengeance = WA_VEN_GetMaxVengeance or function()
                -- Get formular variables
                local maxHealth     = UnitHealthMax("player")
                local effectiveStat = select(2, UnitStat("player", 3))
                local baseStam      = min(20, effectiveStat);
                local moreStam      = effectiveStat - baseStam;
                local moreHealth    = (baseStam + (moreStam * UnitHPPerStamina("player"))) * GetUnitMaxHealthModifier("player");
                
                -- Calc max vengeance
                return ceil((maxHealth - moreHealth) * 0.1) + moreStam;
            end
            
            -- Query vengeance values
            local ven = WA_VEN_GetVengeance();
            local maxVen = WA_VEN_GetMaxVengeance();
            
            -- Update return text
            WA_VEN_Return = string.format("%.2f / %.2f (%.2f)", ven, maxVen, ven / math.max(1, maxVen) * 100);
        end
        
        -- Return text
        return WA_VEN_Return or "0";
    end
    

    Is copied directly out of the custom text editor, so you can tell me if I put the debug strings in there incorrectly. I am getting nothing printing to my chat, and yes, I am getting some vengeance stacked before I look for it.

    Thanks again!

    Last edited Oct 31, 2011 by smart001: forgot to mention something
    #12 Oct 31, 2011 at 19:24 UTC - 0 likes

    @smart001: Go

    The throttle-code is basically:

        -- Throttle variables
        local now = GetTime();
        WA_VEN_LastUpdate = WA_VEN_LastUpdate or now - 1;
        
        -- Throttle update
        if now - WA_VEN_LastUpdate >= 0.1 then
            -- "Shedule" next update
            WA_VEN_LastUpdate = now;
            
            [...]
        end
    
    )

    I did a quick check on it, and it seems fine.

    Could you try:

    -- Custom text code
    function()
        -- Throttle variables
        local now = GetTime();
        WA_VEN_LastUpdate = WA_VEN_LastUpdate or now - 1;
        print(now, "OnUpdate call");
        
        -- Throttle update
        if now - WA_VEN_LastUpdate >= 0.1 then
            -- "Shedule" next update
            WA_VEN_LastUpdate = now;
            
            -- Calc current vengeance
            WA_VEN_GetVengeance = WA_VEN_GetVengeance or function()
                -- Query vengeance buff
                local name = select(1, UnitAura("player", 93098));
                print(now , "Name:", name);
                
                -- Vengeance buff available?
                if name then
                    -- Query stack count and scan tooltip for "size" info
                    -- NOTE: Size means, searching for a number in the tooltip text
                    local count = select(4, UnitAura("player", 93098));
                    local size = select(3, WeakAuras.GetAuraTooltipInfo("player", name, nil))
                    
                    -- Return either size, count or 0
                    print(now , "Size:", size, "Count:", count);
                    return size and size ~= 0 and size or count or 0;
                    -- No vengeance buff
                else
                    return 0;
                end
            end
            
            -- Calc maximum vengeance
            WA_VEN_GetMaxVengeance = WA_VEN_GetMaxVengeance or function()
                -- Get formular variables
                local maxHealth     = UnitHealthMax("player")
                local effectiveStat = select(2, UnitStat("player", 3))
                local baseStam      = min(20, effectiveStat);
                local moreStam      = effectiveStat - baseStam;
                local moreHealth    = (baseStam + (moreStam * UnitHPPerStamina("player"))) * GetUnitMaxHealthModifier("player");
                
                -- Calc max vengeance
                return ceil((maxHealth - moreHealth) * 0.1) + moreStam;
            end
            
            -- Query vengeance values
            local ven = WA_VEN_GetVengeance();
            local maxVen = WA_VEN_GetMaxVengeance();
            
            -- Update return text
            WA_VEN_Return = string.format("%.2f / %.2f (%.2f)", ven, maxVen, ven / math.max(1, maxVen) * 100);
        end
        
        -- Return text
        return WA_VEN_Return or "0";
    end
    

    You should now at least see "OnUpdate call" spam. :)

    PS: I totally forgot, you need to reload you UI for this to take effect. Either do a

    /script ReloadUI();

    or do a

    /script WA_VEN_GetVengeance=nil:

    If there is "OnUpdate call" spam, then remove

    print(now, "OnUpdate call");

    again, do a quick reloadui and see if other text spam appears.

    Last edited Oct 31, 2011 by CommanderSirow
    #13 Oct 31, 2011 at 21:16 UTC - 0 likes

    I got the OnUpdate call spam (which surprised and amused me...)

    I then deleted the print(now, "OnUpdate call");

    Then i was getting 15555.495 Name: nil spam (to be honest, i was getting the name spam interlaced in there with the on update as well).

    I thought it might be a case of the incorrect spell ID (as identified in above posts) so i put in the other spell ID (76691) and i got the same spam. I have since reverted the spell ID back to the original 93098.

    I reloaded every time i changed or added something.

    Last edited Oct 31, 2011 by smart001
    #14 Oct 31, 2011 at 22:25 UTC - 0 likes

    One last guess, replace

    UnitAura("player", 93098)
    

    with

    UnitAura("player", "Vengeance")
    
    Last edited Nov 01, 2011 by CommanderSirow
    #15 Nov 01, 2011 at 01:49 UTC - 0 likes

    OMFG!!! I changed it in both places 93098 appeared.

    It worked!

    Mostly.

    Now I am getting the spam with the name "vengeance" stack xx, count 0.

    I deleted the two print functions and it works brilliantly!!!!

    Here is the code, as it works...

    -- Custom text code
    function()
        -- Throttle variables
        local now = GetTime();
        WA_VEN_LastUpdate = WA_VEN_LastUpdate or now - 1;
        
        -- Throttle update
        if now - WA_VEN_LastUpdate >= 0.1 then
            -- "Shedule" next update
            WA_VEN_LastUpdate = now;
            
            -- Calc current vengeance
            WA_VEN_GetVengeance = WA_VEN_GetVengeance or function()
                -- Query vengeance buff
                local name = select(1, UnitAura("player", "Vengeance"));
                
                
                -- Vengeance buff available?
                if name then
                    -- Query stack count and scan tooltip for "size" info
                    -- NOTE: Size means, searching for a number in the tooltip text
                    local count = select(4, UnitAura("player", "Vengeance"));
                    local size = select(3, WeakAuras.GetAuraTooltipInfo("player", name, nil))
                    
                    -- Return either size, count or 0
                    
                    return size and size ~= 0 and size or count or 0;
                    -- No vengeance buff
                else
                    return 0;
                end
            end
            
            -- Calc maximum vengeance
            WA_VEN_GetMaxVengeance = WA_VEN_GetMaxVengeance or function()
                -- Get formular variables
                local maxHealth     = UnitHealthMax("player")
                local effectiveStat = select(2, UnitStat("player", 3))
                local baseStam      = min(20, effectiveStat);
                local moreStam      = effectiveStat - baseStam;
                local moreHealth    = (baseStam + (moreStam * UnitHPPerStamina("player"))) * GetUnitMaxHealthModifier("player");
                
                -- Calc max vengeance
                return ceil((maxHealth - moreHealth) * 0.1) + moreStam;
            end
            
            -- Query vengeance values
            local ven = WA_VEN_GetVengeance();
            local maxVen = WA_VEN_GetMaxVengeance();
            
            -- Update return text
            WA_VEN_Return = string.format("%.2f / %.2f (%.2f)", ven, maxVen, ven / math.max(1, maxVen) * 100);
        end
        
        -- Return text
        return WA_VEN_Return or "0";
    end
    

    Also, here is the export, the bar is obnoxiously big right now, since i was making it easy to see whilst testing.

    dWuqpaGifQlrb0OueNsrAvuaELsbmlku3sLAxQQ0ViqvdJc5ykvwgfONHqAAkexJcQTrPY3uHACkfY5OuQ1rGIEhLO7Ha7JaL(Nsb6GQiluPupufIjsGkxKsXgPe6JieJKsjNuvfRubZuPKUPsj2PQQ(PsrnuviDuLc1sjqEQsMQkQRQqARusFLsvZvPi7Lu)vvzWWHrzXiOhJutMGUmvBwL8zkQrRu1Pj0RvkOzRk3wrTBI(nsgofz5i65Ky6O66K02rO(ofKXRcopbSEkbZNaf2VSEN(SEjQx)i5o5fJ230p0usLnTm5V33AptiLH(oYEg5SEPOx7(DKFhHq9AwVeQxc1N1RdB(6sX5AlA4D2D8oBt0J3DSb3TBhrTtFDBND6fTQcNA(SFGRx33HJOQWPMdC)apqtj0B4svsZfPKtM2qiec33HZ7jP48NhiMrkYi85knecHWJIM9cskdfiiqeNFwC2Nm1YgcHqW(tFwT5)3wzk8rnjKX9abb7p9z1M)FBLPWh1Kqg3duKbjLHc3HDw2qiecnecHW9D48Esko)5bvtczCVHqieeVcskdfUd2F6ZQn))2ktHpQjHmUheSeem63Db(Ex2qiecHqiCFhgV27cvF(4G0pWdQMeY4EdHqiecHG9N(SAZ)VTYu4JAsiJ7bccskdzzdHqiecHqdHqiecHW9D4iShDGwLK0L8aXU0SZK0EdHqiecHG9N(SAZ)pI4CRU0SZK0EGGG9N(SAZ)pI4CRU0SZK0EGImCPkP5IuYjtBiecHqiecHq4(oSXQoPabIDPzNjP9aHQxxnecHqiecHqi8OOzVGKn7bcck(ZP5t2zCyuPi)KkjBYytpMao5yJdJT6sZots7JNo1YgcHqiecHqieAiecHqiecHqOHqiecHqiecH77GvxA2zsApqO61vGrmt8Xi85BWgcHqiecHqieeVcs2Sh47DzdHqiecHqiecHqiCFh2yvNuGGcNrVHbAkvjpWKcdk0mzGtr94IMcxuKHXkIwWhheLxunecHqiecHqiecHW9D4)MpBJGzyjAbpm7mPIXbfNrsVxuAoCrrgybP6mHozqug479aNI6Xfnf4(bEdHqiecHqiecHqi8OOzVanLQKhiiO4pNMpzeJdJkf5NujztgB6XeWjhBCySvxA2zsAF80Pw2qiecHqiecHqiecpkA2lOiAbpqqqXFonFcrnoyVZ2WtQKmLFjIZpPsYotr94IM(rErnzSPhtaNCSXbjB2noifFtN2qiecHqiecHqiecnecHqiecHqiecHW9DqqoxLugCr(ENmOiAb34anLQKhOidg1qiecHqiecHqiecnecHqiecHqiecHaPZvjLbfrl4bMuyqr0cEibdccgfysHbfrl4bkYanLQKhOidgzzdHqiecHqiecHqiCFh(tfi2LMDMK2deQED1qiecHqiecHG)u8gcHqiecHqiecHqG05QKYGrw2qiecHqiecHGlf2qiecHqi4sHnecHqiecnecHqiec33HJWE0Hz2bXz15aXU0SZK0EdHqiecHG9N(SAZ)pI48TWoy1LMDMK2deeS)0NvB()reNVf2bRU0SZK0EGImCPkP5IuYjtBiecHqiecHq4(oqeNhUOiNvFmYaXmsrgHpxPHqiecHqiecHhfn7fMzhSLZE89HqieiimQuKBlN9473c7WKXMEmbCYXtBiecHqiecHq4rrZEb)6YP5Ie7loJhiiO4pNMpXGghgvkYxCgFYytpMao5yJdeD60gcHqiecHqieEu0SxGqMIV4S5qiecbccZIYjg0iJd(1LtZfj2xCgFQLnecHqiecHqi8OOzVWmfPV4S5qiecbcc(1LtZfj2xCgpChiKP4loB2YgcHqiecHqieEu0SxyMI0TLZE89HqiqqycHmfFXzZHnqyYmfPV4S5GbegvkYT1rpQtU4SzrjBYytpMao54PtNgmGarC(Osr(wyhSLZE89BHsO4LOtozSPhtaNC8ulBiecHqiecHqOHqiecHqiecH77Wryp6Wm7qGyxA2zsAVHqiecHqiecbsNRskd0U4BYKz2bB5ShFF4omtr62Yzp((Pbdiy0V7Mg2aHzksFXzZw2qiecHqi4sHnecHqiecnecHqiec33Hnw1jfiqSln7mjThiM9uDLgcHqiecHhfn7fi2Lbcc2F6ZQn))iIZT6sZots7tM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eszOVJSNroR56fX6)7gXiJ0CTg
    
    #16 Nov 01, 2011 at 09:05 UTC - 0 likes

    Good to hear, that we finally made it! :D

    #17 Nov 01, 2011 at 21:22 UTC - 0 likes

    Mee too!! :) Thanks again. So you know, I posted the export string at the Vox Immortalis WA Tutoring thread so others can have access to it as well.

    #18 Dec 12, 2011 at 20:11 UTC - 0 likes

    Is there any possibility to make this working for the spanish wow-client.

    I tried to replace the spell name "Vengeance" for the spanish version in the code but that doesn't just made it.

    #19 Dec 19, 2011 at 08:23 UTC - 0 likes
    Quote from user_90611: Go

    Is there any possibility to make this working for the spanish wow-client.

    I tried to replace the spell name "Vengeance" for the spanish version in the code but that doesn't just made it.

    From my own addon, I can give you this hint:

    local KNOWN_VENGEANCE_SPELL_ID = 93098
    local vengeanceSpellName = select(1,GetSpellInfo(KNOWN_VENGEANCE_SPELL_ID))
    local skillType, spellId = GetSpellBookItemInfo(vengeanceSpellName)
    

    And there you go, localized spellname, and the right spellid. You only have to execute this once per login / after every respec.

    Btw: I have tried my own addon LDB_Vengeance lately (haven't been tanking much), and was only able to reach 94,07% max value. Could it be that something is wrong with my formula? I thought it was right, but I'm not sure anymore...

    Edit: Now I know where my error is, it's in the base health calculation. Does anyone have a reliable formula?

    Last edited Dec 24, 2011 by DerSchreiner
    #20 Dec 25, 2011 at 00:15 UTC - 0 likes

    Thanks very much DerSchreiner.

    What i did is change the whole client to english and did no regret it, so much more options addon-wise and even my lag went down to record low values.

    Give it a try and change it to the "original".

    Happy Xmas

  • 20 posts

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