Revamp on '/details users'

This commit is contained in:
Tercio Jose
2019-10-16 20:24:49 -03:00
parent fa92aa3284
commit 4e8b13a2ef
3 changed files with 210 additions and 44 deletions
+6 -1
View File
@@ -2972,7 +2972,12 @@ function atributo_damage:ToolTip_DamageDone (instancia, numero, barra, keydown)
local nome_magia, _, icone_magia = _GetSpellInfo (spellID)
if (petName) then
nome_magia = nome_magia .. " (|cFFCCBBBB" .. petName .. "|r)"
if (not nome_magia) then
spellID = spellID or "spellId?"
nome_magia = "|cffffaa00" .. spellID .. " " .. " (|cFFCCBBBB" .. petName .. "|r)"
else
nome_magia = nome_magia .. " (|cFFCCBBBB" .. petName .. "|r)"
end
end
if (instancia.sub_atributo == 1 or instancia.sub_atributo == 6) then