Fix usage PLAYER_REGEN
This commit is contained in:
parent
4ad6ed9665
commit
48c105fb14
|
@ -1 +1 @@
|
|||
Subproject commit ac37d0f1b787b9c74c6196def1d738acb1916fcb
|
||||
Subproject commit 796ca249e88cbc16a14694db7ec44cb63a8ea960
|
11
Quicklog.lua
11
Quicklog.lua
|
@ -214,7 +214,7 @@ local function stopSegment(...)
|
|||
end
|
||||
end
|
||||
local throttleUpdate,trottleDelay = time(), 0.4
|
||||
function addon:summon(event, data, prefix, suffix)
|
||||
function addon:summon(reg, data, prefix, suffix)
|
||||
self:CreateDataObject(data, prefix, suffix)
|
||||
local summon = addon:GetGuidInfo2(data:GetDestination())
|
||||
if(not summon:HasOwner()) then
|
||||
|
@ -240,7 +240,7 @@ local function prepData(data, offset)
|
|||
end
|
||||
return data
|
||||
end
|
||||
function addon:dmg(event, data, prefix, suffix)
|
||||
function addon:dmg(reg, data, prefix, suffix)
|
||||
-- print(data, prefix, suffix)
|
||||
--[[ [1] = event,
|
||||
[2] = time,
|
||||
|
@ -285,9 +285,6 @@ function addon:dmg(event, data, prefix, suffix)
|
|||
end
|
||||
end
|
||||
end
|
||||
function addon:BOSS_KILL(event, encounterID, encounterName)
|
||||
print("boss kill", encounterID, encounterName)
|
||||
end
|
||||
function addon:ENCOUNTER_END(event, encounterID, encounterName, difficultyID, groupSize, success)
|
||||
-- print(event, encounterID, encounterName, difficultyID, groupSize)
|
||||
addon:UpdateWindows()
|
||||
|
@ -329,8 +326,8 @@ function addon:PLAYER_ENTERING_WORLD(event, isInitialLogin, isReloadingUi)
|
|||
end
|
||||
end
|
||||
|
||||
function addon:cmbStatus(event)
|
||||
-- print(event)
|
||||
function addon:cmbStatus(reg, event)
|
||||
-- print(reg, event)
|
||||
if(event=='PLAYER_REGEN_ENABLED') then
|
||||
if(segStarted and not addon:GetSegment()['isEncounter']) then
|
||||
if(not UnitIsDeadOrGhost('PLAYER')) then
|
||||
|
|
Loading…
Reference in New Issue