Skip to content

Commit

Permalink
BfA/SiegeOfBoralus/Trash: Tweaks, localization
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed Oct 16, 2024
1 parent 11fc28b commit 165c0b4
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 27 deletions.
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ if L then
L.waveshaper = "Wellenformer der Eisenfluträuber"
L.wavetender = "Wellenzähmer von Kul Tiras"
L.raider = "Eisenfluträuber"
L.shredder = "Springflutschredder"
L.vanguard = "Vorhut von Kul Tiras"
L.commander = "Aschenwindkommandant"
L.spotter = "Aschenwindkundschafter"
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 @@ -7,6 +7,7 @@ if L then
L.waveshaper = "Tallaolas Marea de Hierro"
L.wavetender = "Cuidaolas de Kul Tiras"
L.raider = "Asaltante Marea de Hierro"
L.shredder = "Triturador Mareaviva"
L.vanguard = "Vanguardia de Kul Tiras"
L.commander = "Comandante Gobernalle"
L.spotter = "Avistador de los Gobernalle"
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 @@ -7,6 +7,7 @@ if L then
L.waveshaper = "Sculpte-vagues des Lamineurs"
L.wavetender = "Soigne-vagues kultirassien"
L.raider = "Ecumeur des Lamineurs"
L.shredder = "Déchiqueteur des marées"
L.vanguard = "Avant-garde de Kul Tiras"
L.commander = "Commandant corsandre"
L.spotter = "Guetteur corsandre"
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 @@ -7,6 +7,7 @@ if L then
L.waveshaper = "Plasmaonde Marferreo"
L.wavetender = "Tracciaonde di Kul Tiras"
L.raider = "Incursore Marferreo"
L.shredder = "Sminuzzatore Squarciamaree"
L.vanguard = "Avanguardia di Kul Tiras"
L.commander = "Comandante dei Bracescura"
L.spotter = "Ricognitore dei Bracescura"
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 @@ -7,6 +7,7 @@ if L then
L.waveshaper = "무쇠파도 물결구체자"
L.wavetender = "쿨 티란 파도지기"
L.raider = "무쇠파도 약탈단"
L.shredder = "성난파도 파쇄꾼"
L.vanguard = "쿨 티란 선봉대원"
L.commander = "애쉬베인 지휘관"
L.spotter = "애쉬베인 관측병"
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 @@ -7,6 +7,7 @@ if L then
L.waveshaper = "Moldaonda Maré-férrea"
L.wavetender = "Zelamar Kultireno"
L.raider = "Saqueador Maré-férrea"
L.shredder = "Retalhador Contracorrente"
L.vanguard = "Vanguarda Kultirena"
L.commander = "Comandante Grimpagris"
L.spotter = "Avistador Grimpagris"
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 @@ -7,6 +7,7 @@ if L then
L.waveshaper = "Заклинатель моря из братства Стальных Волнr"
L.wavetender = "Кул-тирасский смотритель приливов"
L.raider = "Налетчик из братства Стальных Волн"
L.shredder = "Мастер клинков прилива"
L.vanguard = "Кул-тирасский боец авангарда"
L.commander = "Командир из корпорации Эшвейнов"
L.spotter = "Наводчик корпорации Эшвейнов"
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 @@ -7,6 +7,7 @@ if L then
L.waveshaper = "铁潮塑浪者"
L.wavetender = "库尔提拉斯护潮者"
L.raider = "铁潮袭击者"
L.shredder = "激流破浪者"
L.vanguard = "库尔提拉斯先锋"
L.commander = "艾什凡指挥官"
L.spotter = "艾什凡观察员"
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 @@ -7,6 +7,7 @@ if L then
--L.waveshaper = "Irontide Waveshaper"
L.wavetender = "庫爾提拉斯平浪者"
L.raider = "鐵潮劫掠者"
--L.shredder = "Riptide Shredder"
L.vanguard = "庫爾提拉斯先鋒"
L.commander = "艾胥凡指揮官"
L.spotter = "艾胥凡偵察兵"
Expand Down
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Options/Colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ BigWigs:AddColors("Siege of Boralus Trash", {
[256957] = {"red","yellow"},
[257169] = "red",
[257170] = "yellow",
[257270] = {"blue","yellow"},
[257288] = "purple",
[257732] = "yellow",
[268260] = "orange",
Expand Down
1 change: 1 addition & 0 deletions BfA/SiegeOfBoralus/Options/Sounds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ BigWigs:AddSounds("Siege of Boralus Trash", {
[256957] = {"alert","warning"},
[257169] = "warning",
[257170] = "long",
[257270] = "alarm",
[257288] = "alarm",
[257732] = "alert",
[268260] = "alarm",
Expand Down
60 changes: 33 additions & 27 deletions BfA/SiegeOfBoralus/Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ mod:RegisterEnableMob(
144071, -- Irontide Waveshaper
141284, -- Kul Tiran Wavetender (Horde)
129369, -- Irontide Raider
129371, -- Riptide Shredder
138019, -- Kul Tiran Vanguard (Horde)
128969, -- Ashvane Commander
135263, -- Ashvane Spotter
Expand All @@ -22,8 +23,7 @@ mod:RegisterEnableMob(
129366, -- Bilge Rat Buccaneer
135241, -- Bilge Rat Pillager
129367, -- Bilge Rat Tempest
137516, -- Ashvane Invader
129371 -- Riptide Shredder
137516 -- Ashvane Invader
)

--------------------------------------------------------------------------------
Expand All @@ -38,6 +38,7 @@ if L then
L.waveshaper = "Irontide Waveshaper"
L.wavetender = "Kul Tiran Wavetender"
L.raider = "Irontide Raider"
L.shredder = "Riptide Shredder"
L.vanguard = "Kul Tiran Vanguard"
L.commander = "Ashvane Commander"
L.spotter = "Ashvane Spotter"
Expand All @@ -47,7 +48,6 @@ if L then
L.pillager = "Bilge Rat Pillager"
L.tempest = "Bilge Rat Tempest"
L.invader = "Ashvane Invader"
L.shredder = "Riptide Shredder"

L.gate_open = CL.gate_open
L.gate_open_desc = "Show a bar indicating when the Kul Tiran Wavetender will open the gate after Dread Captain Lockwood."
Expand All @@ -72,6 +72,8 @@ function mod:GetOptions()
-- Irontide Raider
{272662, "NAMEPLATE"}, -- Iron Hook
{257170, "NAMEPLATE"}, -- Savage Tempest
-- Riptide Shredder
{257270, "NAMEPLATE", "OFF"}, -- Iron Ambush
-- Kul Tiran Vanguard
{257288, "NAMEPLATE"}, -- Heavy Slash
-- Ashvane Commander
Expand All @@ -92,13 +94,12 @@ function mod:GetOptions()
{272571, "NAMEPLATE"}, -- Choking Waters
-- Ashvane Invader
{275835, "TANK", "NAMEPLATE"}, -- Stinging Venom Coating
-- Riptide Shredder
{257270, "NAMEPLATE"}, -- Iron Ambush
}, {
[256627] = L.halberd.." / "..L.enforcer,
[256640] = L.bomber,
[256957] = L.wavetender.." / "..L.waveshaper,
[272662] = L.raider,
[257270] = L.shredder,
[257288] = L.vanguard,
[454437] = L.commander,
[272421] = L.spotter,
Expand All @@ -108,7 +109,6 @@ function mod:GetOptions()
[454440] = L.pillager,
[272571] = L.tempest,
[275835] = L.invader,
[257270] = L.shredder,
}
end

Expand Down Expand Up @@ -139,6 +139,11 @@ function mod:OnBossEnable()
self:Log("SPELL_CAST_START", "SavageTempest", 257170)
self:Death("IrontideRaiderDeath", 129369)

-- Riptide Shredder
self:RegisterEngageMob("RiptideShredderEngaged", 129371)
self:Log("SPELL_CAST_SUCCESS", "IronAmbush", 257270)
self:Death("RiptideShredderDeath", 129371)

-- Kul Tiran Vanguard (Horde-only)
self:RegisterEngageMob("KulTiranVanguardEngaged", 138019)
self:Log("SPELL_CAST_START", "HeavySlash", 257288)
Expand Down Expand Up @@ -194,11 +199,6 @@ function mod:OnBossEnable()
self:RegisterEngageMob("AshvaneInvaderEngaged", 137516)
self:Log("SPELL_CAST_SUCCESS", "StingingVenomCoating", 275835)
self:Death("AshvaneInvaderDeath", 137516)

-- Riptide Shredder
self:RegisterEngageMob("RiptideShredderEngaged", 129371)
self:Log("SPELL_CAST_SUCCESS", "IronAmbush", 257270)
self:Death("RiptideShredderDeath", 129371)
end

--------------------------------------------------------------------------------
Expand Down Expand Up @@ -327,6 +327,28 @@ function mod:IrontideRaiderDeath(args)
self:ClearNameplate(args.destGUID)
end

-- Riptide Shredder

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

do
local prev = 0
function mod:IronAmbush(args)
self:Nameplate(args.spellId, 25.5, args.sourceGUID)
if args.time - prev > 2 then
prev = args.time
self:TargetMessage(args.spellId, "yellow", args.destName)
self:PlaySound(args.spellId, "alarm")
end
end
end

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

-- Kul Tiran Vanguard (Horde-only)

function mod:KulTiranVanguardEngaged(guid)
Expand Down Expand Up @@ -561,19 +583,3 @@ end
function mod:AshvaneInvaderDeath(args)
self:ClearNameplate(args.destGUID)
end

-- Riptide Shredder

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

function mod:IronAmbush(args)
self:Message(args.spellId, "purple")
self:Nameplate(args.spellId, 25.5, args.sourceGUID)
self:PlaySound(args.spellId, "alarm")
end

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

0 comments on commit 165c0b4

Please sign in to comment.