Format the text in the breakdown player list using the same font, size and outline of the damage window

This commit is contained in:
Tercio Jose
2022-10-09 17:12:13 -03:00
parent 61644c755a
commit 9974a87119
92 changed files with 5980 additions and 5978 deletions
+4 -4
View File
@@ -57,7 +57,7 @@ end
local temp_table = {}
local target_func = function (main_table)
local target_func = function(main_table)
local i = 1
for name, amount in _pairs (main_table) do
local t = temp_table [i]
@@ -73,7 +73,7 @@ local target_func = function (main_table)
end
end
local spells_used_func = function (main_table, target)
local spells_used_func = function(main_table, target)
local i = 1
for spellid, spell_table in _pairs (main_table) do
local target_amount = spell_table.targets [target]
@@ -134,7 +134,7 @@ function atributo_custom:damagedoneTooltip (actor, target, spellid, combat, inst
return
else
local name, _, icon = _GetSpellInfo (spellid)
local name, _, icon = _GetSpellInfo(spellid)
GameCooltip:AddLine (name)
GameCooltip:AddIcon (icon, 1, 1, 14, 14)
@@ -193,7 +193,7 @@ function atributo_custom:damagedoneTooltip (actor, target, spellid, combat, inst
break
end
local name, _, icon = _GetSpellInfo (t[1])
local name, _, icon = _GetSpellInfo(t[1])
GameCooltip:AddLine (name, FormatTooltipNumber (_, t[2]))
_detalhes:AddTooltipBackgroundStatusbar()
GameCooltip:AddIcon (icon, 1, 1, 14, 14)