Skip to content

Commit

Permalink
Cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Dec 3, 2023
1 parent 2b823a3 commit ddd1b35
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion BlackfathomDeeps_Classic/BaronAquanis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ end
-- Event Handlers
--

function mod:DepthCharge(args)
function mod:DepthChargeApplied(args)
if self:Me(args.destGUID) then
self:PlaySound(args.spellId, "warning", nil, args.destName)
self:Say(args.spellId, CL.bomb)
Expand Down
2 changes: 1 addition & 1 deletion BlackfathomDeeps_Classic/Locales/esES.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "esES")
if not L then return end
if L then
L.bossName = "Barón Aquanis"
Expand Down
2 changes: 1 addition & 1 deletion BlackfathomDeeps_Classic/Locales/esMX.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "esMX")
if not L then return end
if L then
L.bossName = "Barón Aquanis"
Expand Down
2 changes: 1 addition & 1 deletion BlackfathomDeeps_Classic/Locales/frFR.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "frFR")
if not L then return end
if L then
--L.bossName = "Baron Aquanis"
Expand Down
2 changes: 1 addition & 1 deletion BlackfathomDeeps_Classic/Locales/itIT.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "itIT")
if not L then return end
if L then
--L.bossName = "Baron Aquanis"
Expand Down
2 changes: 1 addition & 1 deletion BlackfathomDeeps_Classic/Locales/koKR.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "koKR")
if not L then return end
if L then
L.bossName = "군주 아쿠아니스"
Expand Down
2 changes: 1 addition & 1 deletion BlackfathomDeeps_Classic/Locales/ptBR.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "ptBR")
if not L then return end
if L then
L.bossName = "Barão Aquanis"
Expand Down
2 changes: 1 addition & 1 deletion BlackfathomDeeps_Classic/Locales/ruRU.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "ruRU")
if not L then return end
if L then
L.bossName = "Барон Акванис"
Expand Down
2 changes: 1 addition & 1 deletion BlackfathomDeeps_Classic/Locales/zhCN.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "zhCN")
if not L then return end
if L then
L.bossName = "阿奎尼斯男爵"
Expand Down
2 changes: 1 addition & 1 deletion BlackfathomDeeps_Classic/Locales/zhTW.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "deDE")
local L = BigWigs:NewBossLocale("Baron Aquanis Discovery", "zhTW")
if not L then return end
if L then
--L.bossName = "Baron Aquanis"
Expand Down
19 changes: 9 additions & 10 deletions BlackwingLair_Classic/Chromaggus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ if L then
L.breath = "Breaths"
L.breath_desc = "Warn for Breaths."

L.debuffs = "{23174} ({605})" -- Chromatic Mutation (Mind Control)
L.debuffs_desc = 23174
L.debuffs_icon = 23174
L.debuffs_message = "3/5 debuffs, carefull!"
L.debuffs_warning = "4/5 debuffs, %s on 5th!"
end
Expand All @@ -52,8 +49,10 @@ function mod:GetOptions()
23128, -- Enrage
23537, -- Frenzy
"breath",
"debuffs",
23174, -- Chromatic Mutation
--"vulnerability",
},nil,{
[23174] = 605, -- Chromatic Mutation (Mind Control)
}
end

Expand Down Expand Up @@ -111,14 +110,14 @@ function mod:Debuffs(args)
if self:Me(args.destGUID) then
debuffCount = debuffCount + 1
if debuffCount == 3 then
self:Message("debuffs", "red", L.debuffs_message, icons[args.spellName] or false)
self:PlaySound("debuffs", "alarm")
self:Message(23174, "red", L.debuffs_message, icons[args.spellName] or false)
self:PlaySound(23174, "alarm")
elseif debuffCount == 4 then
self:Message("debuffs", "orange", L.debuffs_warning:format(self:SpellName(605)), icons[args.spellName] or false) -- 605 = Mind Control
self:PlaySound("debuffs", "warning")
self:Message(23174, "orange", L.debuffs_warning:format(self:SpellName(605)), icons[args.spellName] or false) -- 605 = Mind Control
self:PlaySound(23174, "warning")
elseif debuffCount == 5 then
self:Message("debuffs", "orange", 605, icons[args.spellName] or false) -- 605 = Mind Control
self:PlaySound("debuffs", "warning")
self:Message(23174, "orange", 605, icons[args.spellName] or false) -- 605 = Mind Control
self:PlaySound(23174, "warning")
end
end
end
Expand Down

0 comments on commit ddd1b35

Please sign in to comment.