Thread Tools Display Modes
05-12-08, 01:16 PM   #1
Angr
A Defias Bandit
Join Date: Sep 2006
Posts: 2
Combat Log Filter trouble

I'm trying to use the new COMBAT_LOG_EVENT filters but so far they doesn't seem to filter much. In my OnEnable I have
Code:
self:RegisterEvent("COMBAT_LOG_EVENT")
CombatLogAddFilter("SPELL_CAST_SUCCESS", UnitGUID("player"), nil)
which I handle with
Code:
function addon:COMBAT_LOG_EVENT(timestamp, event, srcGUID, srcName, srcFlags, dstGUID, dstName, dstFlags, ...)
    if event == "SPELL_CAST_SUCCESS" then
        --how come other player's casts show up here?
    end
end
Am I using the filters wrong?
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Combat Log Filter trouble


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off