v3 Release Candidate.

This commit is contained in:
tercio
2014-11-11 19:49:24 -02:00
parent 1ab15245b4
commit cf3219f436
41 changed files with 2835 additions and 3757 deletions
+2 -2
View File
@@ -665,18 +665,18 @@ do
--> showing is the combat table which is current shown on instance
if (child.instance.showing) then
--GetCombatTime() return the time length of combat
local combatTime = child.instance.showing:GetCombatTime()
if (combatTime < 1) then
return child.text:SetText ("0")
end
--GetTotal (attribute, sub attribute, onlyGroup) return the total of requested attribute
local total = child.instance.showing:GetTotal (child.instance.atributo, child.instance.sub_atributo, true)
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))