Skip to content

Commit dca034c

Browse files
committed
Also truncuate overkill damage
1 parent 64eb8df commit dca034c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NameplateSCT.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ function NameplateSCT:DamageEvent(guid, spellName, amount, overkill, school, cri
10141014
end
10151015

10161016
if (overkill > 0 and self.db.global.shouldDisplayOverkill) then
1017-
text = self:ColorText(L["%s (O: %s)"]:format(text, overkill), guid, playerGUID, school, spellName, crit)
1017+
text = self:ColorText(L["%s (O: %s)"]:format(text, self:truncateText(overkill)), guid, playerGUID, school, spellName, crit)
10181018
self:DisplayTextOverkill(guid, text, size, animation, spellId, pow, spellName)
10191019
else
10201020
self:DisplayText(guid, text, size, animation, spellId, pow, spellName)

0 commit comments

Comments
 (0)