WoWInterface SVN Thanks4Buff

Compare Revisions

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

Rev 2 → Rev 3

trunk/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)
SendChatMessage("thanks "..sourceName.." for their "..spellName, "EMOTE")
end
end);
t4bf:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
\ No newline at end of file