Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- THIS IS ALL THE CODE IN THE ANIMATION TAB
- function(progress, r1, g1, b1, a1, r2, g2, b2, a2)
- local stack = (select(4, UnitAura("player", "Incanter's Flow"))) or 0
- if stack > pstack then
- pstack = stack
- lastColor = 1
- return 0,1,0,1
- elseif stack < pstack then
- pstack = stack
- lastColor = 2
- return 1,0,0,1
- elseif lastColor == 1 then
- return 0,1,0,1
- elseif lastColor == 2 then
- return 1,0,0,1
- end
- end
- THIS IS ALL THE CODE IN THE ACTIONS TAB
- pstack = 0
- lastColor = 1
- THIS IS THE LUA ERROR MESSAGE
- Message: Interface\AddOns\WeakAuras\RegionTypes\icon.lua:193: Usage: <unnamed>:SetAlpha(alpha 0 to 1)
- Time: 08/03/15 16:37:35
- Count: 22477
- Stack: [C]: ?
- [C]: in function `SetAlpha'
- Interface\AddOns\WeakAuras\RegionTypes\icon.lua:193: in function `Color'
- Interface\AddOns\WeakAuras\WeakAuras.lua:4274: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:4202>
- Locals:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement