- Revamp on Death report.
- Data send to broker now is correctly formated. - Modified the percentage method used on Comparison Panel. - Added options panel for Encounter Details. - New API: _detalhes:GetCurrentCombat() returns the current combat object - New API: _detalhes:GetCombatSegments() returns a numeric table with all stored combats. - New API: _detalhes:GetZoneType() returns the type from GetInstanceInfo(). - New API: _detalhes:InGroup()return true if Details! is considering the player inside a group. - New API: _detalhes:GetOnlyName (string) return self.nome or string without realm name. - New Event: ZONE_TYPE_CHANGED, it's triggered when the player change the zoze type. - New Event: GROUP_ONENTER GROUP_ONLEAVE, trigger when the player left or enter in a group.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--> local pointers
|
||||
local ipairs = ipairs
|
||||
local _math_floor = math.floor
|
||||
local time = time
|
||||
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
@@ -237,7 +238,7 @@
|
||||
if (not time or time == 0) then
|
||||
_detalhes.databroker.text = 0
|
||||
else
|
||||
_detalhes.databroker.text = _detalhes.tabela_vigente.totals_grupo[1] / time
|
||||
_detalhes.databroker.text = _detalhes:comma_value (_math_floor (_detalhes.tabela_vigente.totals_grupo[1] / time))
|
||||
end
|
||||
|
||||
elseif (texttype == 2) then --hps
|
||||
@@ -245,7 +246,7 @@
|
||||
if (not time or time == 0) then
|
||||
_detalhes.databroker.text = 0
|
||||
else
|
||||
_detalhes.databroker.text = _detalhes.tabela_vigente.totals_grupo[2] / time
|
||||
_detalhes.databroker.text = _detalhes:comma_value (_math_floor (_detalhes.tabela_vigente.totals_grupo[2] / time))
|
||||
end
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user