Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local playerGUID = UnitGUID("player")
- local abICD = CreateFrame("Cooldown", nil, MultiBarBottomRightButton3, "CooldownFrameTemplate")
- function abICD:COMBAT_LOG_EVENT_UNFILTERED(...)
- local timestamp, event, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags,
- destGUID, destName, destFlags, destRaidFlags, spellID, spellName = ...
- if event == "SPELL_CAST_SUCCESS" and sourceGUID == playerGUID
- and spellName == "Angelic Bulwark" then
- CooldownFrame_SetTimer(self, GetTime(), 90, 1)
- end
- end
- abICD:SetScript("OnEvent", function(self, event, ...) return self[event](self, ...) end)
- abICD:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement