WoWInterface SVN Thanks4Buff

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 3 to Rev 4
    Reverse comparison

Rev 3 → Rev 4

Thanks4Buff.lua
4,7 → 4,7
local filter = bit.bor(COMBATLOG_OBJECT_AFFILIATION_OUTSIDER, COMBATLOG_OBJECT_REACTION_FRIENDLY)
if type == "SPELL_AURA_APPLIED" and destGUID == UnitGUID("player") and CombatLog_Object_IsA(sourceFlags, filter) then
local spellId, spellName, spellSchool = select(9, ...)
SendChatMessage("thanks "..sourceName.." for their "..spellName, "EMOTE")
SendChatMessage("thanks "..sourceName.." for their "..spellName..".", "EMOTE")
end
end);
t4bf:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
\ No newline at end of file