Skip to content

Commit 9276a92

Browse files
committed
Tweak Overkill Display
1 parent 54635dc commit 9276a92

10 files changed

+17
-3
lines changed

Locales/deDE.lua

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("NameplateSCT", "deDE")
22
if not L then return end
33

44
--L["%s (A: %s)"] = "%s (A: %s)" -- A for Absorb
5+
--L["%s (O: %s)"] = "%s (O: %s)" -- O for Overkill
56
L["Abilities"] = "Fähigkeiten"
67
L["Absorbed"] = "Absorbiert"
78
L["Alpha"] = "Alpha"
@@ -43,6 +44,7 @@ L["Embiggen Miss/Parry/Dodge/etc"] = "Verfehlt/Pariert/Ausgewichen/etc vergröß
4344
L["Enable Masque"] = "Masque aktivieren"
4445
L["Enable"] = "Aktivieren"
4546
--L["Evaded"] = "Evaded"
47+
--L["Filters"] = "Filters"
4648
--L["Font Flags"] = "Font Flags"
4749
L["Font"] = "Schriftart"
4850
--L["Fountain"] = "Fountain"

Locales/enUS.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
local L = LibStub("AceLocale-3.0"):NewLocale("NameplateSCT", "enUS", true)
22

33
L["%s (A: %s)"] = true -- A for Absorb
4+
L["%s (O: %s)"] = true -- O for Overkill
45
L["Abilities"] = true
56
L["Absorbed"] = true
67
L["Alpha"] = true
@@ -76,7 +77,6 @@ L["Off-Target Strata"] = true
7677
L["Off-Target Text Appearance"] = true
7778
L["Only used if Personal Nameplate is Disabled"] = true
7879
L["Outline"] = true
79-
L[" Overkill("] = true
8080
L["Parried"] = true
8181
L["Personal SCT Animations"] = true
8282
L["Personal SCT Only"] = true

Locales/esES.lua

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("NameplateSCT", "esES")
22
if not L then return end
33

44
--L["%s (A: %s)"] = "%s (A: %s)" -- A for Absorb
5+
--L["%s (O: %s)"] = "%s (O: %s)" -- O for Overkill
56
L["Abilities"] = "Habilidades"
67
L["Absorbed"] = "Absorbido"
78
L["Alpha"] = "Alfa"
@@ -43,6 +44,7 @@ L["Default"] = "Defecto"
4344
--L["Enable Masque"] = "Enable Masque"
4445
--L["Enable"] = "Enable"
4546
--L["Evaded"] = "Evaded"
47+
--L["Filters"] = "Filters"
4648
--L["Font Flags"] = "Font Flags"
4749
--L["Font"] = "Font"
4850
--L["Fountain"] = "Fountain"

Locales/esMX.lua

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("NameplateSCT", "esMX")
22
if not L then return end
33

44
--L["%s (A: %s)"] = "%s (A: %s)" -- A for Absorb
5+
--L["%s (O: %s)"] = "%s (O: %s)" -- O for Overkill
56
--L["Abilities"] = "Abilities"
67
--L["Absorbed"] = "Absorbed"
78
--L["Alpha"] = "Alpha"
@@ -43,6 +44,7 @@ if not L then return end
4344
--L["Enable Masque"] = "Enable Masque"
4445
--L["Enable"] = "Enable"
4546
--L["Evaded"] = "Evaded"
47+
--L["Filters"] = "Filters"
4648
--L["Font Flags"] = "Font Flags"
4749
--L["Font"] = "Font"
4850
--L["Fountain"] = "Fountain"

Locales/frFR.lua

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("NameplateSCT", "frFR")
22
if not L then return end
33

44
--L["%s (A: %s)"] = "%s (A: %s)" -- A for Absorb
5+
--L["%s (O: %s)"] = "%s (O: %s)" -- O for Overkill
56
L["Abilities"] = "Abilités"
67
L["Absorbed"] = "Absorbé"
78
L["Alpha"] = "Transparence"
@@ -43,6 +44,7 @@ L["Embiggen Miss/Parry/Dodge/etc"] = "Agrandir Raté/Paré/Esquivé/etc"
4344
L["Enable Masque"] = "Activer Masque"
4445
L["Enable"] = "Activer"
4546
L["Evaded"] = "Évité"
47+
--L["Filters"] = "Filters"
4648
--L["Font Flags"] = "Font Flags"
4749
L["Font"] = "Police de caractère"
4850
L["Fountain"] = "Fontaine"

Locales/koKR.lua

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("NameplateSCT", "koKR")
22
if not L then return end
33

44
--L["%s (A: %s)"] = "%s (A: %s)" -- A for Absorb
5+
--L["%s (O: %s)"] = "%s (O: %s)" -- O for Overkill
56
L["Abilities"] = "능력"
67
L["Absorbed"] = "흡수"
78
L["Alpha"] = "투명도"
@@ -43,6 +44,7 @@ L["Embiggen Miss/Parry/Dodge/etc"] = "빗나감/막음/피함/기타 크게"
4344
L["Enable Masque"] = "Masque 사용"
4445
L["Enable"] = "사용"
4546
L["Evaded"] = "벗어남"
47+
--L["Filters"] = "Filters"
4648
L["Font Flags"] = "글꼴 외곽선"
4749
L["Font"] = "글꼴"
4850
L["Fountain"] = "분수"

Locales/ruRU.lua

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("NameplateSCT", "ruRU")
22
if not L then return end
33

44
--L["%s (A: %s)"] = "%s (A: %s)" -- A for Absorb
5+
--L["%s (O: %s)"] = "%s (O: %s)" -- O for Overkill
56
L["Abilities"] = "Способности"
67
L["Absorbed"] = "Поглощение"
78
L["Alpha"] = "Прозрачность"
@@ -43,6 +44,7 @@ L["Embiggen Miss/Parry/Dodge/etc"] = "Увеличение Промахов/Па
4344
L["Enable Masque"] = "Включить Masque"
4445
L["Enable"] = "Включить"
4546
L["Evaded"] = "Избежание"
47+
--L["Filters"] = "Filters"
4648
L["Font Flags"] = "Параметры шрифта"
4749
L["Font"] = "Шрифт"
4850
L["Fountain"] = "Фонтан"

Locales/zhCN.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("NameplateSCT", "zhCN")
22
if not L then return end
33

44
L["%s (A: %s)"] = "%s (A: %s)" -- A for Absorb
5+
--L["%s (O: %s)"] = "%s (O: %s)" -- O for Overkill
56
L["Abilities"] = "技能"
67
L["Absorbed"] = "吸收"
78
L["Alpha"] = "透明度"
@@ -77,7 +78,6 @@ L["Off-Target Strata"] = "非当前目标层级"
7778
L["Off-Target Text Appearance"] = "非当前目标文字外观"
7879
L["Only used if Personal Nameplate is Disabled"] = "只有停用个人血条时使用"
7980
L["Outline"] = "轮廓"
80-
L[" Overkill("] = "击杀(过量:"
8181
L["Parried"] = "招架"
8282
L["Personal SCT Animations"] = "个人浮动战斗文字动画"
8383
L["Personal SCT Only"] = "只有个人浮动战斗文字"

Locales/zhTW.lua

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ local L = LibStub("AceLocale-3.0"):NewLocale("NameplateSCT", "zhTW")
22
if not L then return end
33

44
--L["%s (A: %s)"] = "%s (A: %s)" -- A for Absorb
5+
--L["%s (O: %s)"] = "%s (O: %s)" -- O for Overkill
56
L["Abilities"] = "技能"
67
L["Absorbed"] = "吸收"
78
L["Alpha"] = "透明度"
@@ -43,6 +44,7 @@ L["Embiggen Miss/Parry/Dodge/etc"] = "放大未擊中/格擋/閃躲...等等"
4344
L["Enable Masque"] = "啟用按鈕外觀插件"
4445
L["Enable"] = "啟用"
4546
L["Evaded"] = "迴避"
47+
--L["Filters"] = "Filters"
4648
L["Font Flags"] = "文字樣式"
4749
L["Font"] = "字體"
4850
L["Fountain"] = "潮吹噴泉"

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(text..L[" Overkill("]..overkill..")", guid, playerGUID, school, spellName, crit)
1017+
text = self:ColorText(L["%s (O: %s)"]:format(text, 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)