Added transliteration to the pet name

This commit is contained in:
Tercio Jose
2024-06-01 15:11:06 -03:00
parent 9605299be0
commit 5cfb67f8db
+5
View File
@@ -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