Hey there!
I can't open the game right now to test it, but it should be something like this:
If you want to use LUA (all in one):
Create a WeakAura (icon, text, whatever) and set the display to stacks (%s).
The trigger type is Custom, on event. The events to listen for are:
Code:
COMBAT_LOG_EVENT_UNFILTERED,PLAYER_REGEN_ENABLED,PLAYER_REGEN_DISABLED
In the trigger custom code it should go something like this:
Code:
function(...)
local Rebirth, RaiseAlly, Soulstone = 20484, 61999, 20707
local waEvt,_, eventType, _, _, whoCast, _, _, _, whoReceived, _, _, spellID = ...
if waEvt == "COMBAT_LOG_EVENT_UNFILTERED" then
if eventType == "SPELL_CAST_SUCCESS" then
if (spellID == Rebirth) or (spellID == RaiseAlly) or (spellID == Soulstone) then
if qtyBress == nil then
qtyBress = 1
else
qtyBress = qtyBress + 1
end
end
end
elseif (waEvt == "PLAYER_REGEN_ENABLED") or (waEvt == "PLAYER_REGEN_DISABLED") then
-- Reset counter upon entering or leaving combat
qtyBress = 0
end
return true
end
And the "Stacks Information" custom code:
Code:
function()
return qtyBress
end
If you do not want to mess with that much lua code, you can create various "Spell cast sucessful event" triggers in one weakaura (Trigger type: event) and increase a variable (like qtyBress) on the "Action" tab, using custom code upon activation. Then create a second one that will display that variable (using the custom fuction returning the stack amount)
Edit: This will show Battle resses CASTED, not accepted. Not sure how to track the ones that were accepted, never payed attention if there is any entry on the combat log for resurrection accepted.