Your No. 1 platform to manage and share your own WeakAuras. Discover new auras for your everyday gaming experience.

Help with Atral power

Created by volcom783 | Created: 2017-12-13T13:04:31+01:00 | Views: 104 | Votes: 0 | Suggestions: 0



I made a progression bar to track astal power. I want a custom color change depending of the power.

In Animations tab / main.

type : custom / time in se / 1 sec

“Checked” color / type : custom fonction

here is code i found in the internet :

function(progress, r1, g1, b1, a1, r2, b2, a2)

local player_rage = UnitPower(“player”, 1)
local red, green, blue = 0,0,0

if player_rage > 85 then
red, green, blue = 1,1,1
elseif player_rage > 60 then
red, green, blue = 0,1,0
red, green, blue = 1,0,0

return red, green, blue, 1


all i want to do to track astral power.. 0-39 RED 40-79 GREEN 80-100 BLUE.

I want to do the same with all power but can’t find how to replace de “Player_(rage)”. For player_astral power .. maelstorm etc…

thank you

All solutions

Solutions are yet to come. Be the first and suggest a WeakAura now.You have to be logged in to add a WeakAura.


Are you looking for an specific aura? In our new "aura request" area you can ask experienced WeakAuras authors for help.

New features available

  • Comment functionality for aura requests is now available.
  • In our new service area you can find all service topics of WeakAuras.online.
  • Added new categories for the new 7.3 raid "Antorus, the Burning Throne".
Read more about the new features on Facebook.

Newest requests

New auras

  1. teste trinket Created by daniel | Votes: 0 | Views: 35
  2. Ignore Pain Created by RynaMo162 | Votes: 0 | Views: 54
  3. Hexer Affli Created by Madara 1987 | Votes: 0 | Views: 239

High rated auras

  1. Ability Mastery Tracker Created by WalkingTheWind | Votes: 5 | Views: 14,838
  2. <Faithsin> All in One Rogue HUD Created by faithsin | Votes: 4 | Views: 9,472
  3. Resto Druid CD bar - Ablution - EU Created by Ablution | Votes: 4 | Views: 6,389

Planned Features

  • Notifications
  • Achievements
  • WeakAuras.online App
Upcoming | in progress I have an idea