View Single Post
08-10-09, 02:47 AM   #6
jojoza
A Murloc Raider
Join Date: Oct 2008
Posts: 5
I had same problem as Skarrde. I changed bit of your code, and it seems problem is solved.

function Multishot:COMBAT_LOG_EVENT_UNFILTERED() in Multishot.lua:

Code:
function Multishot:COMBAT_LOG_EVENT_UNFILTERED()
  inInstance, instanceType = IsInInstance()
  if (instanceType == "party" and (not MultishotConfig.party)) then return end;
  if (instanceType == "raid" and (not MultishotConfig.raid)) then return end;
  if arg2 == "UNIT_DIED" then
    tempID = tonumber("0x" .. string.sub(arg6, 9, 12));
    if BossIDs[tempID] then
      if UnitIsDead("player") then
        self:ScheduleTimer(Screenshot, MultishotConfig.pdelay);
      else
        isDelayed = true;
      end
    end
  end
end
  Reply With Quote