Skip to content

Commit

Permalink
Cleaned up unused locals and removed an arrow function that doesn't b…
Browse files Browse the repository at this point in the history
…elong since patch 7.1
  • Loading branch information
MysticalOS committed Feb 23, 2020
1 parent 0d05e8a commit 39664ac
Show file tree
Hide file tree
Showing 27 changed files with 18 additions and 146 deletions.
7 changes: 1 addition & 6 deletions DBM-HeartofFear/HoFTrash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ local specWarnDispatch = mod:NewSpecialWarningInterrupt(125877)

local timerUnseenStrike = mod:NewCastTimer(4.8, 123017)

mod:AddBoolOption("UnseenStrikeArrow")

local scanTime = 0

local function findUnseen(spellName)
Expand All @@ -34,9 +32,6 @@ local function findUnseen(spellName)
yellUnseenStrike:Yell()
else
specWarnUnseenStrikeOther:Show(name)
if mod.Options.UnseenStrikeArrow then
DBM.Arrow:ShowRunTo(uId, 3, 5)
end
end
return
end
Expand Down Expand Up @@ -67,4 +62,4 @@ function mod:OnSync(msg, spellName)
scanTime = 0
findUnseen(spellName)
end
end
end
7 changes: 0 additions & 7 deletions DBM-HeartofFear/Tayak.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ local timerBladeTempestCD = mod:NewNextTimer(60, 125310, nil, nil, nil, 2, ni
local berserkTimer = mod:NewBerserkTimer(490)

mod:AddBoolOption("RangeFrame", "Ranged")--For Wind Step
mod:AddBoolOption("UnseenStrikeArrow")

local intensifyCD = 60
local phase2 = false
Expand Down Expand Up @@ -73,9 +72,6 @@ function mod:OnCombatEnd()
if self.Options.RangeFrame then
DBM.RangeCheck:Hide()
end
if self.Options.UnseenStrikeArrow then
DBM.Arrow:Hide()
end
end

function mod:SPELL_AURA_APPLIED(args)
Expand Down Expand Up @@ -144,9 +140,6 @@ function mod:CHAT_MSG_RAID_BOSS_EMOTE(msg, _, _, _, target)
yellUnseenStrike:Yell()
else
specWarnUnseenStrikeOther:Show(target)
if self.Options.UnseenStrikeArrow then
DBM.Arrow:ShowRunTo(target, 3, 5)
end
end
end
end
Expand Down
1 change: 0 additions & 1 deletion DBM-HeartofFear/localization.cn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ L:SetMiscLocalization({
L = DBM:GetModLocalization(744)

L:SetOptionLocalization({
UnseenStrikeArrow = "DBM箭头:当有人受到$spell:122949影响时",
RangeFrame = "距离监视(10码):$spell:123175"
})

Expand Down
4 changes: 0 additions & 4 deletions DBM-HeartofFear/localization.de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,3 @@ L = DBM:GetModLocalization("HoFTrash")
L:SetGeneralLocalization({
name = "Trash des Herz der Angst"
})

L:SetOptionLocalization({
UnseenStrikeArrow = "Zeige DBM-Pfeil, wenn jemand von $spell:122949 betroffen ist"
})
5 changes: 0 additions & 5 deletions DBM-HeartofFear/localization.en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ L:SetMiscLocalization({
L = DBM:GetModLocalization(744)

L:SetOptionLocalization({
UnseenStrikeArrow = DBM_CORE_AUTO_ARROW_OPTION_TEXT:format(122949),
RangeFrame = DBM_CORE_AUTO_RANGE_OPTION_TEXT:format(10, 123175)
})

Expand Down Expand Up @@ -141,7 +140,3 @@ L = DBM:GetModLocalization("HoFTrash")
L:SetGeneralLocalization({
name = "Heart of Fear Trash"
})

L:SetOptionLocalization({
UnseenStrikeArrow = "Show DBM Arrow when someone is affected by $spell:122949"
})
4 changes: 0 additions & 4 deletions DBM-HeartofFear/localization.es.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,3 @@ L = DBM:GetModLocalization("HoFTrash")
L:SetGeneralLocalization({
name = "Enemigos menores"
})

L:SetOptionLocalization({
UnseenStrikeArrow = "Mostrar flecha cuando un jugador esté afectado por $spell:122949"
})
1 change: 0 additions & 1 deletion DBM-HeartofFear/localization.fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ L:SetMiscLocalization({
L = DBM:GetModLocalization(744)

L:SetOptionLocalization({
UnseenStrikeArrow = "Afficher la flêche DBM quand quelqu'un est touché par $spell:122949",
RangeFrame = "Afficher le cadre de distance (10m) pour $spell:123175"
})

Expand Down
3 changes: 1 addition & 2 deletions DBM-HeartofFear/localization.it.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ L:SetMiscLocalization({
L = DBM:GetModLocalization(744)

L:SetOptionLocalization({
UnseenStrikeArrow = "Visualizza la Freccia di DBM quando qualcuno e' affetto da $spell:122949 ",
RangeFrame = "Visualizza il radar (8) per $spell:123175"
})

Expand Down Expand Up @@ -60,4 +59,4 @@ L:SetOptionLocalization({

L:SetMiscLocalization({
PlayerDebuffs = "Inseguito"
})
})
4 changes: 0 additions & 4 deletions DBM-HeartofFear/localization.kr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,3 @@ L = DBM:GetModLocalization("HoFTrash")
L:SetGeneralLocalization({
name = "공포의 심장: 일반구간"
})

L:SetOptionLocalization({
UnseenStrikeArrow = "$spell:122949 대상이 정해진 경우 DBM 화살표 보기"
})
4 changes: 0 additions & 4 deletions DBM-HeartofFear/localization.ru.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,3 @@ L = DBM:GetModLocalization("HoFTrash")
L:SetGeneralLocalization({
name = "Трэш мобы Сердца Страха"
})

L:SetOptionLocalization({
UnseenStrikeArrow = "Показывать стрелку DBM, когда на ком-то $spell:122949"
})
4 changes: 0 additions & 4 deletions DBM-HeartofFear/localization.tw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,3 @@ L = DBM:GetModLocalization("HoFTrash")
L:SetGeneralLocalization({
name = "恐懼之心小怪"
})

L:SetOptionLocalization({
UnseenStrikeArrow = "當某人中了$spell:122949顯示DBM箭頭"
})
3 changes: 1 addition & 2 deletions DBM-MogushanVaults/localization.cn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ L:SetWarningLocalization({
L:SetOptionLocalization({
SpecWarnOverloadSoon = "特殊警报:过载预警", -- need to change this, i can not translate this with good grammer. please help.
specWarnBreakJasperChains = "特殊惊爆:可扯断$spell:130395",
ArrowOnJasperChains = "DBM箭头:当你受到$spell:130395效果影响时",
InfoFrame = "信息框:石像能量及激活情况"
})

Expand Down Expand Up @@ -107,4 +106,4 @@ L:SetMiscLocalization({
Strength = "皇帝的力量出现在壁龛中!",--Emote
Courage = "皇帝的勇气出现在壁龛中!",--Emote
Boss = "两个巨型构造体出现在大型的壁龛中!"--Emote
})
})
3 changes: 1 addition & 2 deletions DBM-MogushanVaults/localization.de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ L:SetWarningLocalization({
L:SetOptionLocalization({
SpecWarnOverloadSoon = "Spezialwarnung bevor eine Überladung gewirkt werden kann",
specWarnBreakJasperChains = "Spezialwarnung, wenn es sicher ist die $spell:130395 zu sprengen",
ArrowOnJasperChains = "Zeige DBM-Pfeil, wenn du von $spell:130395 betroffen bist",
InfoFrame = "Zeige Infofenster für Bossenergie, Spielerversteinerung und welcher Boss Versteinerung wirkt"
})

Expand Down Expand Up @@ -110,4 +109,4 @@ L:SetMiscLocalization({
Strength = "Die Stärke des Kaisers erscheint in den Erkern!",
Courage = "Der Mut des Kaisers erscheint in den Erkern!",
Boss = "In den riesigen Erkern erscheinen zwei Titanenkonstrukte!"
})
})
3 changes: 1 addition & 2 deletions DBM-MogushanVaults/localization.en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ L:SetWarningLocalization({
L:SetOptionLocalization({
SpecWarnOverloadSoon = "Show special warning before overload", -- need to change this, i can not translate this with good grammer. please help.
specWarnBreakJasperChains = "Show special warning when it is safe to break $spell:130395",
ArrowOnJasperChains = "Show DBM Arrow when you are affected by $spell:130395",
InfoFrame = "Show info frame for boss power, player petrification, and which boss is casting petrification"
})

Expand Down Expand Up @@ -116,4 +115,4 @@ L:SetMiscLocalization({
Strength = "The Emperor's Strength appears in the alcoves!",--Emote
Courage = "The Emperor's Courage appears in the alcoves!",--Emote
Boss = "Two titanic constructs appear in the large alcoves!"--Emote
})
})
3 changes: 1 addition & 2 deletions DBM-MogushanVaults/localization.es.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ L:SetWarningLocalization({
L:SetOptionLocalization({
SpecWarnOverloadSoon = "Mostrar aviso especial antes de Sobrecarga", -- need to change this, i can not translate this with good grammer. please help.
specWarnBreakJasperChains = "Mostrar aviso especial cuando sea seguro romper $spell:130395",
ArrowOnJasperChains = "Mostrar flecha cuando estés afectado por $spell:130395",
InfoFrame = "Mostrar marco de información con la energía de los jefes, petrificación de los jugadores y qué jefe está lanzando la petrificación"
})

Expand Down Expand Up @@ -119,4 +118,4 @@ L:SetMiscLocalization({
Strength = "¡La fuerza del Emperador aparece en la habitación!",--Emote
Courage = "¡El coraje del Emperador aparece en la habitación!",--Emote
Boss = "¡Aparecen dos construcciones titánicas en las enormes habitaciones!"--Emote
})
})
3 changes: 1 addition & 2 deletions DBM-MogushanVaults/localization.fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ L:SetWarningLocalization({
L:SetOptionLocalization({
SpecWarnOverloadSoon = "Alerte spéciale avant la surcharge",
specWarnBreakJasperChains = "Alerte spéciale quand il est sûr de casser $spell:130395",
ArrowOnJasperChains = "Voir la fleche DBM lorsque vous êtes affecté par $spell:130395",
InfoFrame = "Afficher le cadre d'information pour la puissance des boss, la pétrification des joueurs, et quand le boss lance la pétrification"
})

Expand Down Expand Up @@ -109,4 +108,4 @@ L:SetMiscLocalization({
Strength = "La Force de l'empereur apparaît dans les alcôves !",--Emote
Courage = "Le Courage de l'empereur apparaît dans les alcôves !",--Emote
Boss = "Deux assemblages titanesques apparaissent dans les grandes alcôves !"--Emote
})
})
3 changes: 1 addition & 2 deletions DBM-MogushanVaults/localization.kr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ L:SetWarningLocalization({
L:SetOptionLocalization({
SpecWarnOverloadSoon = "석화중이지 않은 수호자가 과부화되려고 할 때 특수 경고 보기",
specWarnBreakJasperChains = "$spell:130395 를 안전하게 해제할 수 있을 때 특수 경고 보기",
ArrowOnJasperChains = "$spell:130395 대상이 된 경우 DBM 화살표 보기",
InfoFrame = "수호자 기력, 현재 석화상태, 석화 진행중인 수호자를 정보 창으로 보기"
})

Expand Down Expand Up @@ -110,4 +109,4 @@ L:SetMiscLocalization({
Strength = "황제의 힘이 벽감에 나타납니다!",--Emote
Courage = "황제의 용기가 벽감에 나타납니다!",--Emote
Boss = "거대한 모구 조형체 둘이 큰 벽감에 나타납니다!"--Emote
})
})
3 changes: 1 addition & 2 deletions DBM-MogushanVaults/localization.ru.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ L:SetWarningLocalization({
L:SetOptionLocalization({
SpecWarnOverloadSoon = "Спец-предупреждение перед насыщением",
specWarnBreakJasperChains = "Спец-предупреждение, когда можно разорвать $spell:130395",
ArrowOnJasperChains = "Показывать стрелку DBM, когда на вас $spell:130395",
InfoFrame = "Показывать информационное окно с энергией боссов, окаменением игроков и какой босс кастует окаменение"
})

Expand Down Expand Up @@ -110,4 +109,4 @@ L:SetMiscLocalization({
Strength = "Сила императора сжимает эти земли в железных тисках.",--Emote
Courage = "Смелость императора безгранична.",--Emote
Boss = "Бессмертная армия сокрушит врагов императора."--Emote
})
})
3 changes: 1 addition & 2 deletions DBM-MogushanVaults/localization.tw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ L:SetWarningLocalization({
L:SetOptionLocalization({
SpecWarnOverloadSoon = "為即將超載顯示特別警告",
specWarnBreakJasperChains = "當可安全扯斷$spell:130395時顯示特別警告",
ArrowOnJasperChains = "當中了$spell:130395時顯示DBM箭頭",
InfoFrame = "為首領能量,玩家石化和那個首領施放石化顯示訊息框"
})

Expand Down Expand Up @@ -110,4 +109,4 @@ L:SetMiscLocalization({
Strength = "帝王之力出現在壁龕裡!",
Courage = "帝王之勇出現在壁龕裡!",
Boss = "兩個泰坦魁儡出現在大壁龕裡!"
})
})
12 changes: 1 addition & 11 deletions DBM-SiegeOfOrgrimmarV2/localization.br.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@ L:SetMiscLocalization({
tower = "A porta fechando a"--A porta fechando a Torre Sul/Norte foi derrubada!
})

--------------------
--Iron Juggernaut --
--------------------
L = DBM:GetModLocalization(864)

--------------------------
-- Kor'kron Dark Shaman --
--------------------------
Expand Down Expand Up @@ -102,11 +97,6 @@ L:SetMiscLocalization({
nextAdds = "Próximos Adds: "
})

-----------------
-- Malkorok -----
-----------------
L = DBM:GetModLocalization(846)

------------------------
-- Spoils of Pandaria --
------------------------
Expand Down Expand Up @@ -198,4 +188,4 @@ L = DBM:GetModLocalization("SoOTrash")

L:SetGeneralLocalization({
name = "Trash de Cerco a Orgrimmar"
})
})
12 changes: 1 addition & 11 deletions DBM-SiegeOfOrgrimmarV2/localization.cn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ L:SetMiscLocalization({
tower = "的门已经遭到破坏!"
})

--------------------
--Iron Juggernaut --
--------------------
L = DBM:GetModLocalization(864)

--------------------------
-- Kor'kron Dark Shaman --
--------------------------
Expand Down Expand Up @@ -106,11 +101,6 @@ L:SetMiscLocalization({
nextAdds = "下一次小兵: "
})

-----------------
-- Malkorok -----
-----------------
L = DBM:GetModLocalization(846)

------------------------
-- Spoils of Pandaria --
------------------------
Expand Down Expand Up @@ -198,4 +188,4 @@ L = DBM:GetModLocalization("SoOTrash")

L:SetGeneralLocalization({
name = "围攻奥格瑞玛小兵"
})
})
12 changes: 1 addition & 11 deletions DBM-SiegeOfOrgrimmarV2/localization.de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ L:SetMiscLocalization({
tower = "Das Tor zum"--"Das Tor zum Nordturm ist durchbrochen!"/"Das Tor zum Südturm ist durchbrochen!"
})

--------------------
--Iron Juggernaut --
--------------------
L = DBM:GetModLocalization(864)

--------------------------
-- Kor'kron Dark Shaman --
--------------------------
Expand Down Expand Up @@ -107,11 +102,6 @@ L:SetMiscLocalization({
nextAdds = "Nächste Adds: "
})

-----------------
-- Malkorok -----
-----------------
L = DBM:GetModLocalization(846)

------------------------
-- Spoils of Pandaria --
------------------------
Expand Down Expand Up @@ -206,4 +196,4 @@ L = DBM:GetModLocalization("SoOTrash")

L:SetGeneralLocalization({
name = "Trash der Schlacht um Orgrimmar"
})
})
7 changes: 1 addition & 6 deletions DBM-SiegeOfOrgrimmarV2/localization.en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ L:SetMiscLocalization({
warrior = "|c"..RAID_CLASS_COLORS["WARRIOR"].colorStr..LOCALIZED_CLASS_NAMES_MALE["WARRIOR"].."|r"
})

-----------------
-- Malkorok -----
-----------------
L = DBM:GetModLocalization(846)

------------------------
-- Spoils of Pandaria --
------------------------
Expand Down Expand Up @@ -220,4 +215,4 @@ L = DBM:GetModLocalization("SoOTrash")

L:SetGeneralLocalization({
name = "Siege of Orgrimmar Trash"
})
})
Loading

0 comments on commit 39664ac

Please sign in to comment.