Skip to content

Commit 30be732

Browse files
committed
Cooldowns: Track Azerite Essence and PvP Talent spells
1 parent db6d7a3 commit 30be732

File tree

11 files changed

+38
-2
lines changed

11 files changed

+38
-2
lines changed

Data/Cooldowns.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ function module:CheckItems()
7676
end
7777
end
7878

79+
local generalWhitelist = {
80+
[L["Racial"]] = true,
81+
[L["Azerite Essence"]] = true,
82+
[L["PvP Talent"]] = true,
83+
}
84+
7985
function module:ResetSpells(e)
8086
wipe(spells)
8187
wipe(spellCooldowns)
@@ -85,7 +91,7 @@ function module:ResetSpells(e)
8591
for slot = 1, numSlots do
8692
local index = offset + slot
8793
local spellName, subSpellName = GetSpellBookItemName(index, "spell")
88-
if tab > 1 or subSpellName == "Racial" then -- damn Blizzard for not having a "Racial" global string
94+
if tab > 1 or generalWhitelist[subSpellName] then
8995
spells[spellName] = true
9096
local start, duration = GetSpellCooldown(index, "spell")
9197
if start and start > 0 and duration > db.threshold and not db.filters[spellName] then

Locales/deDE.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ L["Aura stack gain"] = "Aura Stapel erhalten"
6969
L["Aura type"] = "Aura-Art"
7070
L["Auras"] = "Auren"
7171
L["Avoids"] = "Vermeidungen"
72+
L["Azerite Essence"] = "Azeritessenz"
7273
L["Both"] = "Beide"
7374
-- L["Break up amounts"] = "Break up amounts"
7475
-- L["Break up number values with '%s' (26500 -> %s)"] = "Break up number values with '%s' (26500 -> %s)"
@@ -349,6 +350,8 @@ L["Power gain/loss"] = "Kraft erhalten/verloren"
349350
L["Power loss"] = "Kraftverlust"
350351
L["Power type"] = "Kraft-Art"
351352
L["Primary conditions"] = "Primäre Bedingungen"
353+
L["PvP Talent"] = "PvP-Talent"
354+
L["Racial"] = "Volksfähigkeit"
352355
L["Rainbow"] = "Regenbogen"
353356
L["Reactive skills"] = "Reaktive Fähigkeiten"
354357
L["Reason for the miss"] = "Grund des Fehlschlages"

Locales/enUS.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ L["Aura stack gain"] = true
7373
L["Aura type"] = true
7474
L["Auras"] = true
7575
L["Avoids"] = true
76+
L["Azerite Essence"] = true
7677
L["Both"] = true
7778
L["Break up amounts"] = true
7879
L["Break up number values with '%s' (26500 -> %s)"] = true
@@ -353,6 +354,8 @@ L["Power gain/loss"] = true
353354
L["Power loss"] = true
354355
L["Power type"] = true
355356
L["Primary conditions"] = true
357+
L["PvP Talent"] = true
358+
L["Racial"] = true
356359
L["Rainbow"] = true
357360
L["Reactive skills"] = true
358361
L["Reason for the miss"] = true

Locales/esES.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ if not L then return end
6969
-- L["Aura type"] = "Aura type"
7070
-- L["Auras"] = "Auras"
7171
-- L["Avoids"] = "Avoids"
72+
L["Azerite Essence"] = "Esencia de azerita"
7273
-- L["Both"] = "Both"
7374
-- L["Break up amounts"] = "Break up amounts"
7475
-- L["Break up number values with '%s' (26500 -> %s)"] = "Break up number values with '%s' (26500 -> %s)"
@@ -349,6 +350,8 @@ if not L then return end
349350
-- L["Power loss"] = "Power loss"
350351
-- L["Power type"] = "Power type"
351352
-- L["Primary conditions"] = "Primary conditions"
353+
L["PvP Talent"] = "Talento JcJ"
354+
L["Racial"] = "Racial"
352355
-- L["Rainbow"] = "Rainbow"
353356
-- L["Reactive skills"] = "Reactive skills"
354357
-- L["Reason for the miss"] = "Reason for the miss"

Locales/frFR.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ L["Aura stack gain"] = "Gain d'uns superposition d'aura"
6969
L["Aura type"] = "Type d'aura"
7070
L["Auras"] = "Auras"
7171
L["Avoids"] = "Évite"
72+
L["Azerite Essence"] = "Essence d’azérite"
7273
L["Both"] = "Les deux"
7374
-- L["Break up amounts"] = "Break up amounts"
7475
-- L["Break up number values with '%s' (26500 -> %s)"] = "Break up number values with '%s' (26500 -> %s)"
@@ -349,6 +350,8 @@ L["Power gain/loss"] = "Puissance gagnée/perdue"
349350
L["Power loss"] = "Perte de puissance"
350351
L["Power type"] = "Type de puissance"
351352
L["Primary conditions"] = "Conditions primaires"
353+
L["PvP Talent"] = "Talento JcJ"
354+
L["Racial"] = "Raciale"
352355
L["Rainbow"] = "Arc-en-ciel"
353356
L["Reactive skills"] = "Compétences réactives"
354357
L["Reason for the miss"] = "Raison du coup raté"

Locales/itIT.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ if not L then return end
6969
-- L["Aura type"] = "Aura type"
7070
-- L["Auras"] = "Auras"
7171
-- L["Avoids"] = "Avoids"
72+
L["Azerite Essence"] = "Essenza d'Azerite"
7273
-- L["Both"] = "Both"
7374
-- L["Break up amounts"] = "Break up amounts"
7475
-- L["Break up number values with '%s' (26500 -> %s)"] = "Break up number values with '%s' (26500 -> %s)"
@@ -349,6 +350,8 @@ if not L then return end
349350
-- L["Power loss"] = "Power loss"
350351
-- L["Power type"] = "Power type"
351352
-- L["Primary conditions"] = "Primary conditions"
353+
L["PvP Talent"] = "Talento PvP"
354+
L["Racial"] = "Razziale"
352355
-- L["Rainbow"] = "Rainbow"
353356
-- L["Reactive skills"] = "Reactive skills"
354357
-- L["Reason for the miss"] = "Reason for the miss"

Locales/koKR.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ L["Aura stack gain"] = "오라 중첩 획득"
6969
L["Aura type"] = "오라 종류"
7070
L["Auras"] = "지속효과"
7171
L["Avoids"] = "회피"
72+
L["Azerite Essence"] = "아제라이트 정수"
7273
L["Both"] = "둘다"
7374
L["Break up amounts"] = "구분 양"
7475
L["Break up number values with '%s' (26500 -> %s)"] = "숫자 값을 '%s'|1으로;로; 구분함 (26500 -> %s)"
@@ -349,6 +350,8 @@ L["Power gain/loss"] = "자원 획득/손실"
349350
L["Power loss"] = "자원 손실"
350351
L["Power type"] = "자원 종류"
351352
L["Primary conditions"] = "1차 조건"
353+
L["PvP Talent"] = "플레이어 간 전투 특성"
354+
L["Racial"] = "종족 특성"
352355
L["Rainbow"] = "무지개"
353356
L["Reactive skills"] = "기술 사용 가능 여부"
354357
L["Reason for the miss"] = "빗맞음 이유"

Locales/ptBR.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ if not L then return end
6969
-- L["Aura type"] = "Aura type"
7070
-- L["Auras"] = "Auras"
7171
-- L["Avoids"] = "Avoids"
72+
L["Azerite Essence"] = "Essência de Azerita"
7273
-- L["Both"] = "Both"
7374
-- L["Break up amounts"] = "Break up amounts"
7475
-- L["Break up number values with '%s' (26500 -> %s)"] = "Break up number values with '%s' (26500 -> %s)"
@@ -349,6 +350,8 @@ if not L then return end
349350
-- L["Power loss"] = "Power loss"
350351
-- L["Power type"] = "Power type"
351352
-- L["Primary conditions"] = "Primary conditions"
353+
L["PvP Talent"] = "Talento de JxJ"
354+
L["Racial"] = "Racial"
352355
-- L["Rainbow"] = "Rainbow"
353356
-- L["Reactive skills"] = "Reactive skills"
354357
-- L["Reason for the miss"] = "Reason for the miss"

Locales/ruRU.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ L["Aura stack gain"] = "Получен стек аур"
6969
L["Aura type"] = "Тип аур"
7070
L["Auras"] = "Ауры"
7171
L["Avoids"] = "Avoids"
72+
L["Azerite Essence"] = "Азеритовая сущность"
7273
L["Both"] = "Оба"
7374
-- L["Break up amounts"] = "Break up amounts"
7475
-- L["Break up number values with '%s' (26500 -> %s)"] = "Break up number values with '%s' (26500 -> %s)"
@@ -349,6 +350,8 @@ L["Power gain/loss"] = "Энергия получена/потеряна"
349350
L["Power loss"] = "Энергия потеряна"
350351
L["Power type"] = "Тип энергии"
351352
L["Primary conditions"] = "Основные условия"
353+
L["PvP Talent"] = "PvP-талант"
354+
L["Racial"] = "Расовая"
352355
L["Rainbow"] = "Радугой"
353356
L["Reactive skills"] = "Reactive skills"
354357
L["Reason for the miss"] = "Причина ошибки"

Locales/zhCN.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ L["Aura stack gain"] = "获取光环叠加"
6969
L["Aura type"] = "光环类型"
7070
L["Auras"] = "光环"
7171
L["Avoids"] = "减免"
72+
L["Azerite Essence"] = "艾泽里特精华"
7273
L["Both"] = ""
7374
L["Break up amounts"] = "分段值"
7475
L["Break up number values with '%s' (26500 -> %s)"] = "分段数值为“%s”(26500 -> %s)"
@@ -349,6 +350,8 @@ L["Power gain/loss"] = "获得/失去能量"
349350
L["Power loss"] = "失去能量"
350351
L["Power type"] = "能量类型"
351352
L["Primary conditions"] = "主条件"
353+
L["PvP Talent"] = "PvP天赋"
354+
L["Racial"] = "种族特长"
352355
L["Rainbow"] = "彩虹型"
353356
L["Reactive skills"] = "反应技能"
354357
L["Reason for the miss"] = "未命中原因"

0 commit comments

Comments
 (0)