The WeakAuras, macros and other good stuffs thread
Author |
Message |
Woodgnome
Officer
Joined: May 27th, 2011, 15:18 Posts: 2609
|
Re: The Weakauras thread (and other good stuff)
Nailus wrote: My macro is simpler Code: /usetalents [spec:1] 2; [spec:2] 1 I believe that only switches spec as opposed to switching talents, right? Vodkaa wrote: macroing talents realy? i call that LAZY convenience Fixed that for you.
_________________
Guild Master of Frenzy
|
April 16th, 2013, 9:58 |
|
|
Winkle
Officer
Joined: June 7th, 2011, 21:03 Posts: 2339
|
Re: The Weakauras thread (and other good stuff)
Hey, Been trying to get a weak aura working that displays my total attack power, including the attack power generated by vengeance. I found this WA custom function: Code: 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 however it displays the AP in 3 parts, Base | Vengeance | Any debuff | what I really want is just one number that totals those 3 values, played around a bit but tbh don't really know what I'm doing.
_________________
|
May 11th, 2013, 15:22 |
|
|
Winkle
Officer
Joined: June 7th, 2011, 21:03 Posts: 2339
|
Re: The Weakauras thread (and other good stuff)
Fixed by hangen Code: 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", apBase + apPlus + apNeg); end return WA_STATS_RETURN or "<no data>"; end
_________________
|
May 11th, 2013, 15:37 |
|
|
Woodgnome
Officer
Joined: May 27th, 2011, 15:18 Posts: 2609
|
Re: The Weakauras thread (and other good stuff)
You want just the number or a bar?
_________________
Guild Master of Frenzy
|
May 11th, 2013, 17:22 |
|
|
Winkle
Officer
Joined: June 7th, 2011, 21:03 Posts: 2339
|
Re: The Weakauras thread (and other good stuff)
I wanted just the number, which i now have.
_________________
|
May 11th, 2013, 18:05 |
|
|
Hangen
Member
Joined: June 7th, 2011, 17:48 Posts: 1540 Location: BRD - BRS
|
Re: The Weakauras thread (and other good stuff)
Transparent Cooldown overlay for IconsMakes the Cooldown overlay of Icon auras to honor the Icon's opacity.File: ...\WeakAuras\RegionTypes\icon.lua Line: 384 Before:Code: if(customValue or duration <= 0.01) then cooldown:Hide(); else cooldown:Show(); cooldown:SetCooldown(expirationTime - region.duration, region.duration); end
After:Code: if(customValue or duration <= 0.01) then cooldown:Hide(); else cooldown:Show(); cooldown:SetCooldown(expirationTime - region.duration, region.duration); -- EDIT START cooldown:SetAlpha(region.color_a or data.color[4]); -- EDIT END end
_________________
Sweet Raptor Jesus - Hangen @ Twitch
|
November 29th, 2013, 20:23 |
|
|
Winkle
Officer
Joined: June 7th, 2011, 21:03 Posts: 2339
|
Macros
New conditional has been added. Example: /cast [talent:3/1] Ring of Frost; [talent:3/2] Ice Ward; [talent:3/3] Frostjaw
for 6.0
_________________
|
June 20th, 2014, 14:50 |
|
|
Gagaros
Member
Joined: October 11th, 2011, 20:54 Posts: 377
|
Re: Macros
thats handy!
_________________
|
June 20th, 2014, 16:14 |
|
|
Woodgnome
Officer
Joined: May 27th, 2011, 15:18 Posts: 2609
|
Re: The WeakAuras, macros and other good stuffs thread
Certainly shorter than the macro I've been using!
_________________
Guild Master of Frenzy
|
June 20th, 2014, 16:18 |
|
|
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|