Skip to content

Commit

Permalink
BfA/SiegeOfBoralus/Trash: Singing Steel, Rotting Wounds
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed Nov 24, 2024
1 parent 57f061c commit d435161
Show file tree
Hide file tree
Showing 12 changed files with 80 additions and 0 deletions.
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if L then
L.buccaneer = "Bukanier der Bilgeratten"
L.pillager = "Brandschatzer der Bilgeratten"
L.tempest = "Orkan der Bilgeratten"
L.cutthroat = "Halsabschneider der Bilgeratten"
L.invader = "Aschenwindeindringling"

L.gate_open_desc = "Zeigt einen Timer wann das Tor zum nächsten Gebiet nach einer Bossbegegnung geöffnet wird."
Expand Down
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Locales/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if L then
L.buccaneer = "Bucanero de las Ratas de Pantoque"
L.pillager = "Saqueador de las Ratas de Pantoque"
L.tempest = "Tempestad de las Ratas de Pantoque"
L.cutthroat = "Degollador de las Ratas de Pantoque"
L.invader = "Invasor de los Gobernalle"

--L.gate_open_desc = "Show a bar indicating when the gate to the next area will open after defeating each boss."
Expand Down
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if L then
L.buccaneer = "Boucanier des Soutaillons"
L.pillager = "Pilleur des Soutaillons"
L.tempest = "Tempête des Soutaillons"
L.cutthroat = "Coupe-gorge des Soutaillons"
L.invader = "Envahisseur corsandre"

--L.gate_open_desc = "Show a bar indicating when the gate to the next area will open after defeating each boss."
Expand Down
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Locales/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if L then
L.buccaneer = "Bucaniere dei Ratti di Sentina"
L.pillager = "Sciacallo dei Ratti di Sentina"
L.tempest = "Tempesta dei Ratti di Sentina"
L.cutthroat = "Tagliagole dei Ratti di Sentina"
L.invader = "Invasore dei Bracescura"

--L.gate_open_desc = "Show a bar indicating when the gate to the next area will open after defeating each boss."
Expand Down
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if L then
L.buccaneer = "항만의 시궁쥐단 해적단원"
L.pillager = "항만의 시궁쥐단 강탈자"
L.tempest = "항만의 시궁쥐단 폭풍우소환사"
L.cutthroat = "항만의 시궁쥐단 자객"
L.invader = "애쉬베인 침략자"

L.gate_open_desc = "각 보스를 처치한 후 다음 지역으로 가는 문이 언제 열리는지 표시하는 바를 표시합니다."
Expand Down
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if L then
L.buccaneer = "Bucaneiro Rato de Porão"
L.pillager = "Pilhador Rato de Porão"
L.tempest = "Trovoeiro Rato de Porão"
L.cutthroat = "Degolador Rato de Porão"
L.invader = "Invasor Grimpagris"

--L.gate_open_desc = "Show a bar indicating when the gate to the next area will open after defeating each boss."
Expand Down
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if L then
L.buccaneer = "Буканьер из братства Трюмных Крыс"
L.pillager = "Разоритель из братства Трюмных Крыс"
L.tempest = "Воин бури из братства Трюмных Крыс"
L.cutthroat = "Головорез из братства Трюмных Крыс"
L.invader = "Захватчик дома Эшвейнов"

--L.gate_open_desc = "Show a bar indicating when the gate to the next area will open after defeating each boss."
Expand Down
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if L then
L.buccaneer = "水鼠帮海盗"
L.pillager = "水鼠帮劫掠者"
L.tempest = "水鼠帮唤风者"
L.cutthroat = "水鼠帮杀手"
L.invader = "艾什凡入侵者"

L.gate_open_desc = "显示在击杀首领后打开通往下个区域屏障的计时条。"
Expand Down
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if L then
L.buccaneer = "污鼠會海盜"
L.pillager = "污鼠會掠取者"
L.tempest = "污鼠會風暴法師"
--L.cutthroat = "Bilge Rat Cutthroat"
L.invader = "艾胥凡入侵者"

--L.gate_open_desc = "Show a bar indicating when the gate to the next area will open after defeating each boss."
Expand Down
2 changes: 2 additions & 0 deletions BfA/SiegeOfBoralus/Options/Colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ BigWigs:AddColors("Siege of Boralus Trash", {
[256616] = "purple",
[256627] = "purple",
[256640] = {"blue","orange"},
[256709] = "purple",
[256957] = {"red","yellow"},
[257168] = "purple",
[257169] = "red",
Expand All @@ -62,6 +63,7 @@ BigWigs:AddColors("Siege of Boralus Trash", {
[272421] = {"blue","yellow"},
[272546] = "orange",
[272571] = "red",
[272588] = {"blue","purple"},
[272662] = "cyan",
[272711] = "yellow",
[275826] = {"red","yellow"},
Expand Down
2 changes: 2 additions & 0 deletions BfA/SiegeOfBoralus/Options/Sounds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ BigWigs:AddSounds("Siege of Boralus Trash", {
[256616] = "alert",
[256627] = "alarm",
[256640] = {"alarm","underyou"},
[256709] = "alert",
[256957] = {"alert","warning"},
[257168] = "alert",
[257169] = "warning",
Expand All @@ -62,6 +63,7 @@ BigWigs:AddSounds("Siege of Boralus Trash", {
[272421] = "info",
[272546] = "alarm",
[272571] = "alert",
[272588] = "alert",
[272662] = "info",
[272711] = "info",
[275826] = {"alarm","alert"},
Expand Down
67 changes: 67 additions & 0 deletions BfA/SiegeOfBoralus/Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ mod:RegisterEnableMob(
129366, -- Bilge Rat Buccaneer
135241, -- Bilge Rat Pillager
129367, -- Bilge Rat Tempest
137511, -- Bilge Rat Cutthroat
137516 -- Ashvane Invader
)

Expand All @@ -53,6 +54,7 @@ if L then
L.buccaneer = "Bilge Rat Buccaneer"
L.pillager = "Bilge Rat Pillager"
L.tempest = "Bilge Rat Tempest"
L.cutthroat = "Bilge Rat Cutthroat"
L.invader = "Ashvane Invader"

L.gate_open = CL.gate_open
Expand Down Expand Up @@ -82,6 +84,7 @@ function mod:GetOptions()
{257170, "NAMEPLATE"}, -- Savage Tempest
-- Riptide Shredder
{257270, "NAMEPLATE", "OFF"}, -- Iron Ambush
{256709, "NAMEPLATE", "TANK", "OFF"}, -- Singing Steel
-- Kul Tiran Vanguard
{257288, "NAMEPLATE"}, -- Heavy Slash
-- Ashvane Commander
Expand All @@ -102,6 +105,8 @@ function mod:GetOptions()
{454440, "NAMEPLATE"}, -- Stinky Vomit
-- Bilge Rat Tempest
{272571, "NAMEPLATE"}, -- Choking Waters
-- Bilge Rat Cutthroat
{272588, "DISPEL", "NAMEPLATE"}, -- Rotting Wounds
-- Ashvane Invader
{275835, "TANK", "NAMEPLATE"}, -- Stinging Venom Coating
}, {
Expand All @@ -120,6 +125,7 @@ function mod:GetOptions()
[272546] = L.buccaneer,
[454440] = L.pillager,
[272571] = L.tempest,
[272588] = L.cutthroat,
[275835] = L.invader,
}
end
Expand Down Expand Up @@ -160,6 +166,8 @@ function mod:OnBossEnable()
-- Riptide Shredder
self:RegisterEngageMob("RiptideShredderEngaged", 129371)
self:Log("SPELL_CAST_SUCCESS", "IronAmbush", 257270)
self:Log("SPELL_CAST_START", "SingingSteel", 256709)
self:Log("SPELL_CAST_SUCCESS", "SingingSteelSuccess", 256709)
self:Death("RiptideShredderDeath", 129371)

-- Kul Tiran Vanguard (Horde-only)
Expand Down Expand Up @@ -218,6 +226,13 @@ function mod:OnBossEnable()
self:Log("SPELL_CAST_SUCCESS", "ChokingWatersSuccess", 272571)
self:Death("BilgeRatTempestDeath", 129367)

-- Bilge Rat Cutthroat
self:RegisterEngageMob("BilgeRatCutthroatEngaged", 137511)
self:Log("SPELL_CAST_START", "RottingWounds", 272588)
self:Log("SPELL_CAST_SUCCESS", "RottingWoundsSuccess", 272588)
self:Log("SPELL_AURA_APPLIED", "RottingWoundsApplied", 272588)
self:Death("BilgeRatCutthroatDeath", 137511)

-- Ashvane Invader
self:RegisterEngageMob("AshvaneInvaderEngaged", 137516)
self:Log("SPELL_CAST_SUCCESS", "StingingVenomCoating", 275835)
Expand Down Expand Up @@ -393,6 +408,7 @@ end
-- Riptide Shredder

function mod:RiptideShredderEngaged(guid)
self:Nameplate(256709, 3.3, guid) -- Singing Steel
self:Nameplate(257270, 14.5, guid) -- Iron Ambush
end

Expand All @@ -408,6 +424,22 @@ do
end
end

do
local prev = 0
function mod:SingingSteel(args)
self:Nameplate(args.spellId, 0, args.sourceGUID)
if args.time - prev > 2 then
prev = args.time
self:Message(args.spellId, "purple")
self:PlaySound(args.spellId, "alert")
end
end
end

function mod:SingingSteelSuccess(args)
self:Nameplate(args.spellId, 12.3, args.sourceGUID)
end

function mod:RiptideShredderDeath(args)
self:ClearNameplate(args.destGUID)
end
Expand Down Expand Up @@ -646,6 +678,41 @@ function mod:BilgeRatTempestDeath(args)
self:ClearNameplate(args.destGUID)
end

-- Bilge Rat Cutthroat

function mod:BilgeRatCutthroatEngaged(guid)
if self:Tank() or self:Dispeller("disease", nil, 272588) then -- Rotting Wounds
self:Nameplate(272588, 2.1, guid) -- Rotting Wounds
end
end

function mod:RottingWounds(args)
if self:Tank() or self:Dispeller("disease", nil, args.spellId) then
self:Nameplate(args.spellId, 0, args.sourceGUID)
end
end

function mod:RottingWoundsSuccess(args)
if self:Tank() or self:Dispeller("disease", nil, args.spellId) then
self:Nameplate(args.spellId, 15.9, args.sourceGUID)
end
end

do
local prev = 0
function mod:RottingWoundsApplied(args)
if self:Dispeller("disease", nil, args.spellId) and args.time - prev > 2 then
prev = args.time
self:TargetMessage(args.spellId, "purple", args.destName)
self:PlaySound(args.spellId, "alert", nil, args.destName)
end
end
end

function mod:BilgeRatCutthroatDeath(args)
self:ClearNameplate(args.destGUID)
end

-- Ashvane Invader

function mod:AshvaneInvaderEngaged(guid)
Expand Down

0 comments on commit d435161

Please sign in to comment.