- more interface tweaks.

This commit is contained in:
Tercio
2015-06-08 17:58:33 -03:00
parent 0d7dc20746
commit 29e772ab92
9 changed files with 138 additions and 53 deletions
+4 -3
View File
@@ -989,8 +989,10 @@ function atributo_energy:ToolTipRegenRecebido (instancia, numero, barra, keydown
max = 99
end
for o = 1, math.min (i, max) do
local icon_size = _detalhes.tooltip.icon_size
local icon_border = _detalhes.tooltip.icon_border_texcoord
for o = 1, math.min (i, max) do
local spell = energy_tooltips_table [o]
if (spell [2] < 1) then
@@ -999,9 +1001,8 @@ function atributo_energy:ToolTipRegenRecebido (instancia, numero, barra, keydown
local nome_magia, _, icone_magia = _GetSpellInfo (spell [1])
GameCooltip:AddLine (nome_magia..": ", FormatTooltipNumber (_, spell [2]).." (".._cstr("%.1f", (spell [2]/total_regenerado) * 100).."%)")
GameCooltip:AddIcon (icone_magia)
GameCooltip:AddIcon (icone_magia, nil, nil, icon_size.W, icon_size.H, icon_border.L, icon_border.R, icon_border.T, icon_border.B)
_detalhes:AddTooltipBackgroundStatusbar()
end
--> players