- Added Observer channel for Raid Tools, it only reports the cooldown/interrupt/death to you in your chat window.

- More updates on the new plugin Raid Check.
This commit is contained in:
tercio
2014-12-19 22:47:02 -02:00
parent e70b25602e
commit 7c5a420349
12 changed files with 404 additions and 53 deletions
+7
View File
@@ -17,6 +17,7 @@
local _table_remove = table.remove -- lua local
local _rawget = rawget
local _math_max = math.max
local _math_floor = math.floor
local _GetTime = GetTime
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
@@ -106,6 +107,12 @@
end
--return the combat time in seconds
function combate:GetFormatedCombatTime()
local time = self:GetCombatTime()
local m, s = _math_floor (time/60), _math_floor (time%60)
return m, s
end
function combate:GetCombatTime()
if (self.end_time) then
return _math_max (self.end_time - self.start_time, 0.1)