Added API: SegmentInfo(), SegmentTotalDamage(), SegmentTotalHealing(), see '/details api' for more information

This commit is contained in:
Tercioo
2019-05-01 14:54:56 -03:00
parent dfad8bc9fd
commit 5e5fd97e55
6 changed files with 182 additions and 7 deletions
-2
View File
@@ -796,9 +796,7 @@ function atributo_energy:ToolTip (instancia, numero, barra, keydown)
elseif (instancia.sub_atributo == 5) then --resources
local resource_string = _detalhes.resource_strings [self.resource_type]
if (resource_string) then
local icon = _detalhes.resource_icons [self.resource_type]
GameCooltip:AddLine (resource_string, _cstr ("%.2f", self.resource / instancia.showing:GetCombatTime()) .. " per minute", 1, "white")