Originally Posted by
AtomicKiller
Hey, can anyone help me to create WeakAura for tracking Combat resses used? I don't need to to who used it, just icon with 3 stacks and lowering after each use with automatic reset after combat.
thx for help
try this in your Trigger>Custom>Event, I can't test it right now though
Event
Code:
PLAYER_REGEN_ENABLED,PLAYER_REGEN_DISABLED,INCOMING_RESURRECT_CHANGED
Custom Trigger
Code:
function(event)
if event=="PLAYER_REGEN_DISABLED" then
WA_rezzes=3
return true
elseif event=="INCOMING_RESURRECT_CHANGED" then
WA_rezzes=(WA_rezzes or 3)-1
return true
end
end
Custom Untrigger
Code:
function(event)
if event=="PLAYER_REGEN_ENABLED" then
return true
end
end
Stacks Info
Code:
function()
return WA_rezzes or 0
end