Skip to content

Commit

Permalink
Legion/BlackRookHold: RP timer for the door to the Hidden Passageway (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Causese authored Oct 30, 2023
1 parent 580dd8a commit 7816aa3
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Legion/BlackRookHold/AmalgamOfSouls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ function mod:OnEngage()
self:CDBar(194956, 20.2) -- Reap Soul
end

function mod:OnWin()
local trashMod = BigWigs:GetBossModule("Black Rook Hold Trash", true)
if trashMod then
trashMod:Enable()
trashMod:AmalgamOfSoulsDefeated()
end
end

--------------------------------------------------------------------------------
-- Event Handlers
--
Expand Down
3 changes: 3 additions & 0 deletions Legion/BlackRookHold/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ if L then
L.felspite_dominator = "Teufelsgrollunterwerfer"
L.risen_swordsman = "Auferstandener Schwertkämpfer"
L.risen_lancer = "Auferstandener Lanzer"

--L.door_opens = "Door Opens"
--L.door_opens_desc = "Show a bar indicating when the door is opened to the Hidden Passageway."
end
3 changes: 3 additions & 0 deletions Legion/BlackRookHold/Locales/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ if L then
L.felspite_dominator = "Dominador Flemavil"
L.risen_swordsman = "Espadachín resucitado"
L.risen_lancer = "Lancero resucitado"

--L.door_opens = "Door Opens"
--L.door_opens_desc = "Show a bar indicating when the door is opened to the Hidden Passageway."
end
3 changes: 3 additions & 0 deletions Legion/BlackRookHold/Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ if L then
L.felspite_dominator = "Dominateur gangrefiel"
L.risen_swordsman = "Epéiste ressuscité"
L.risen_lancer = "Lancier ressuscité"

--L.door_opens = "Door Opens"
--L.door_opens_desc = "Show a bar indicating when the door is opened to the Hidden Passageway."
end
3 changes: 3 additions & 0 deletions Legion/BlackRookHold/Locales/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ if L then
L.felspite_dominator = "Dominatore Vilvendetta"
L.risen_swordsman = "Spadaccino Rianimato"
L.risen_lancer = "Lanciere Rianimato"

--L.door_opens = "Door Opens"
--L.door_opens_desc = "Show a bar indicating when the door is opened to the Hidden Passageway."
end
3 changes: 3 additions & 0 deletions Legion/BlackRookHold/Locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ if L then
L.felspite_dominator = "지옥원한 통솔자"
L.risen_swordsman = "되살아난 검사"
L.risen_lancer = "되살아난 창기병"

--L.door_opens = "Door Opens"
--L.door_opens_desc = "Show a bar indicating when the door is opened to the Hidden Passageway."
end
3 changes: 3 additions & 0 deletions Legion/BlackRookHold/Locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ if L then
L.felspite_dominator = "Dominador Rancorvil"
L.risen_swordsman = "Espadachim Revivido"
L.risen_lancer = "Lanceiro Revivido"

--L.door_opens = "Door Opens"
--L.door_opens_desc = "Show a bar indicating when the door is opened to the Hidden Passageway."
end
3 changes: 3 additions & 0 deletions Legion/BlackRookHold/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ if L then
L.felspite_dominator = "Злобный покоритель Скверны"
L.risen_swordsman = "Восставший мечник"
L.risen_lancer = "Восставший копейщик"

--L.door_opens = "Door Opens"
--L.door_opens_desc = "Show a bar indicating when the door is opened to the Hidden Passageway."
end
3 changes: 3 additions & 0 deletions Legion/BlackRookHold/Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ if L then
L.felspite_dominator = "魔怨支配者"
L.risen_swordsman = "复活的剑士"
L.risen_lancer = "复活的长枪兵"

--L.door_opens = "Door Opens"
--L.door_opens_desc = "Show a bar indicating when the door is opened to the Hidden Passageway."
end
3 changes: 3 additions & 0 deletions Legion/BlackRookHold/Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ if L then
L.felspite_dominator = "魔恨支配者"
L.risen_swordsman = "復活的劍兵"
L.risen_lancer = "復活的矛兵"

--L.door_opens = "Door Opens"
--L.door_opens_desc = "Show a bar indicating when the door is opened to the Hidden Passageway."
end
13 changes: 13 additions & 0 deletions Legion/BlackRookHold/Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ if L then
L.felspite_dominator = "Felspite Dominator"
L.risen_swordsman = "Risen Swordsman"
L.risen_lancer = "Risen Lancer"

L.door_opens = "Door Opens"
L.door_opens_desc = "Show a bar indicating when the door is opened to the Hidden Passageway."
L.door_opens_icon = "achievement_dungeon_blackrookhold"
end

--------------------------------------------------------------------------------
Expand All @@ -53,6 +57,8 @@ end

function mod:GetOptions()
return {
-- RP Timers
"door_opens",
-- Ghostly Retainer
{200084, "DISPEL"}, -- Soul Blade
-- Ghostly Protector
Expand Down Expand Up @@ -160,6 +166,13 @@ end
-- Event Handlers
--

-- RP Timers

-- triggered from Amalgam of Souls OnWin
function mod:AmalgamOfSoulsDefeated()
self:Bar("door_opens", 35, L.door_opens, L.door_opens_icon)
end

-- Ghostly Retainer

function mod:SoulBladeApplied(args)
Expand Down

0 comments on commit 7816aa3

Please sign in to comment.