Added transliteration to the pet name
This commit is contained in:
parent
9605299be0
commit
5cfb67f8db
1 changed files with 5 additions and 0 deletions
|
|
@ -4160,6 +4160,11 @@ function damageClass:ToolTip_DamageDone (instancia, numero, barra, keydown)
|
|||
local petDPS = damageTable[3]
|
||||
|
||||
petName = damageTable[1]:gsub(("%s%<.*"), "")
|
||||
|
||||
if (instance.row_info.textL_translit_text) then
|
||||
petName = Translit:Transliterate(petName, "!")
|
||||
end
|
||||
|
||||
if (instancia.sub_atributo == 1) then
|
||||
GameCooltip:AddLine(petName, FormatTooltipNumber(_, petDamageDone) .. " (" .. math.floor(petDamageDone/self.total*100) .. "%)")
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue