- fixed a problem with debuff uptime.
- fixed many issues with overall data. - fixed some bugs with sword and book menus. - fixed issue were garbage collector erased actors with interactions with the player. - fixed damage dealt to targets on overall data. - fixed issue with uptading raid dps on micro display for overall data. - overall data now always use combat time fos dps and hps. - added more trash mobs recognition.
This commit is contained in:
@@ -360,7 +360,7 @@ do
|
||||
-- handle event "COMBAT_PLAYER_ENTER"
|
||||
function PDps:PlayerEnterCombat()
|
||||
for index, child in _ipairs (PDps.childs) do
|
||||
if (child.enabled and child.instance:GetSegment() == 0) then
|
||||
if (child.enabled and (child.instance:GetSegment() == 0 or child.instance:GetSegment() == -1)) then
|
||||
child.tick = _detalhes:ScheduleRepeatingTimer ("PluginDpsUpdate", 1, child)
|
||||
end
|
||||
end
|
||||
@@ -413,6 +413,8 @@ do
|
||||
|
||||
local dps = _math_floor (total / combatTime)
|
||||
|
||||
--print (total, combatTime, dps)
|
||||
|
||||
local textStyle = child.options.textStyle
|
||||
if (textStyle == 1) then
|
||||
child.text:SetText (_detalhes:ToK (dps))
|
||||
|
||||
Reference in New Issue
Block a user