- Fixed an issue where sometimes tooltips wasn't being shown.

- Fixed a problem with overall data where it was using, even on dungoens, the raid-only 30 delay rule.
- Fixed an issue with spec detection (now it may detect even faster).
This commit is contained in:
Tercio
2015-06-12 20:52:08 -03:00
parent 9003dbd44f
commit a3eee58cb2
7 changed files with 248 additions and 90 deletions
+16 -1
View File
@@ -115,7 +115,22 @@ function _G._detalhes:Start()
--> start instances updater
_detalhes:CheckSwitchOnLogon()
self:CheckSwitchOnLogon()
function _detalhes:ScheduledWindowUpdate (forced)
if (not forced and _detalhes.in_combat) then
return
end
_detalhes.scheduled_window_update = nil
_detalhes:AtualizaGumpPrincipal (-1, true)
end
function _detalhes:ScheduleWindowUpdate (time, forced)
if (_detalhes.scheduled_window_update) then
_detalhes:CancelTimer (_detalhes.scheduled_window_update)
_detalhes.scheduled_window_update = nil
end
_detalhes.scheduled_window_update = _detalhes:ScheduleTimer ("ScheduledWindowUpdate", time or 1, forced)
end
self:AtualizaGumpPrincipal (-1, true)
self.atualizador = self:ScheduleRepeatingTimer ("AtualizaGumpPrincipal", _detalhes.update_speed, -1)