WoWInterface SVN KillingBlows

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 6 to Rev 7
    Reverse comparison

Rev 6 → Rev 7

KillingBlows/KillingBlows.lua
17,9 → 17,9
if (event == "VARIABLES_LOADED") then
OnLoad(self)
elseif (event == "COMBAT_LOG_EVENT_UNFILTERED") then
local _, cmbEvent, sGUID, _, _, dGUID, _, dFlag = select(1, ...)
local _, cmbEvent, sGUID, _, _, _, _, dFlag = select(1, ...)
if (cmbEvent == "PARTY_KILL") then
if (sGUID == UnitGUID("player") and KillDB.Enabled) then
if (sGUID == UnitGUID("player") and CombatLog_Object_IsA(dFlag, COMBATLOG_FILTER_HOSTILE_PLAYERS) and KillDB.Enabled) then
if (not KillTimer or (GetTime() - KillTimer > 60)) then
PlaySoundFile("Interface\\AddOns\\KillingBlows\\Sounds\\firstblood.mp3")
KillCounter = 0