1. June 8, 2022  

    Looking for a Spell Interrupt announcer

    that isnt elvui please.

  2. Have you tried Details Damage meter?
    I'm currently using this for spell interrupts, and death announcements.

    I downloaded mine from: https://felbite.com/addon/3848-detailsdamagemeter/

    or just Felbite (dot) com (in case we aren't allowed to post links)


  3. Spoiler: Show
    Code:
    local format = string.format
    local UnitName = UnitName
    local UnitIsGroupAssistant = UnitIsGroupAssistant
    local UnitIsGroupLeader = UnitIsGroupLeader
    local GetNumPartyMembers = GetNumPartyMembers
    local GetNumRaidMembers = GetNumRaidMembers
    local CreateFrame = CreateFrame
    local SendChatMessage = SendChatMessage
    
    local isPlayer = UnitName('player')
    local ANNOUNCE = INTERRUPTED.." %s's 124cff71d5ff124Hspell:%d124h[%s]124h124r!"
    
    local check_chat = function(warning)
    	local numParty, numRaid = GetNumPartyMembers(), GetNumRaidMembers()
    	if numParty > 0 then
    		return 'PARTY'
    	elseif numRaid > 0 then
    		if warning and (UnitIsGroupLeader('player') or UnitIsGroupAssistant('player') or IsEveryoneAssistant()) then
    			return 'RAID_WARNING'
    		else
    			return 'RAID'
    		end
    	elseif numParty > 0 then return 'PARTY' end
    	return 'SAY'
    end
    
    local frame = CreateFrame('Frame')
    frame:RegisterEvent('COMBAT_LOG_EVENT_UNFILTERED')
    frame:SetScript('OnEvent', function(self,_,_, event,_,sourceName,_,_, destName,_,_,_,_,spellID, spellName)
    	if not event == 'SPELL_INTERRUPT' and sourceName == isPlayer then return end
    	SendChatMessage(format(ANNOUNCE, destName, spellID, spellName), check_chat())
    end)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •