Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legion/BlackRookHold: RP timer for the gate to the Hidden Passageway #950

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions BfA/AtalDazar/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ if L then
L.confessor = "Bekenner der Dazar'ai"
L.augur = "Augur der Dazar'ai"
L.reanimated_honor_guard = "Reanimierte Ehrenwache"

--L.stairs_open = "Stairs Open"
--L.stairs_open_desc = "Show a bar indicating when the stairs open to Yazma."
--L.stairs_open_msg = "Impressive. You made it farther than I thought... but I will still be drinking your blood."
end
4 changes: 4 additions & 0 deletions BfA/AtalDazar/Locales/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ if L then
L.confessor = "Confesor Dazar'ai"
L.augur = "Augur Dazar'ai"
L.reanimated_honor_guard = "Guardia de honor reanimado"

--L.stairs_open = "Stairs Open"
--L.stairs_open_desc = "Show a bar indicating when the stairs open to Yazma."
--L.stairs_open_msg = "Impressive. You made it farther than I thought... but I will still be drinking your blood."
end
4 changes: 4 additions & 0 deletions BfA/AtalDazar/Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ if L then
L.confessor = "Confesseur dazar'ai"
L.augur = "Augure dazar'ai"
L.reanimated_honor_guard = "Garde d'honneur ressuscité"

--L.stairs_open = "Stairs Open"
--L.stairs_open_desc = "Show a bar indicating when the stairs open to Yazma."
--L.stairs_open_msg = "Impressive. You made it farther than I thought... but I will still be drinking your blood."
end
4 changes: 4 additions & 0 deletions BfA/AtalDazar/Locales/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ if L then
L.confessor = "Confessore Dazar'ai"
L.augur = "Divinatore Dazar'ai"
L.reanimated_honor_guard = "Guardia d'Onore Rianimata"

--L.stairs_open = "Stairs Open"
--L.stairs_open_desc = "Show a bar indicating when the stairs open to Yazma."
--L.stairs_open_msg = "Impressive. You made it farther than I thought... but I will still be drinking your blood."
end
4 changes: 4 additions & 0 deletions BfA/AtalDazar/Locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ if L then
L.confessor = "다자르아이 고해사제"
L.augur = "다자르아이 점술가"
L.reanimated_honor_guard = "되살아난 근위병"

--L.stairs_open = "Stairs Open"
--L.stairs_open_desc = "Show a bar indicating when the stairs open to Yazma."
--L.stairs_open_msg = "Impressive. You made it farther than I thought... but I will still be drinking your blood."
end
4 changes: 4 additions & 0 deletions BfA/AtalDazar/Locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ if L then
L.confessor = "Confessor Dazar'ai"
L.augur = "Áugure Dazar'ai"
L.reanimated_honor_guard = "Guarda de Honra Reanimado"

--L.stairs_open = "Stairs Open"
--L.stairs_open_desc = "Show a bar indicating when the stairs open to Yazma."
--L.stairs_open_msg = "Impressive. You made it farther than I thought... but I will still be drinking your blood."
end
4 changes: 4 additions & 0 deletions BfA/AtalDazar/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ if L then
L.confessor = "Дазар'айский духовник"
L.augur = "Дазар'айский авгур"
L.reanimated_honor_guard = "Оживленный почетный страж"

--L.stairs_open = "Stairs Open"
--L.stairs_open_desc = "Show a bar indicating when the stairs open to Yazma."
--L.stairs_open_msg = "Impressive. You made it farther than I thought... but I will still be drinking your blood."
end
4 changes: 4 additions & 0 deletions BfA/AtalDazar/Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ if L then
L.confessor = "达萨莱神官"
L.augur = "达萨莱占卜师"
L.reanimated_honor_guard = "复活的荣誉卫士"

--L.stairs_open = "Stairs Open"
--L.stairs_open_desc = "Show a bar indicating when the stairs open to Yazma."
--L.stairs_open_msg = "Impressive. You made it farther than I thought... but I will still be drinking your blood."
end
4 changes: 4 additions & 0 deletions BfA/AtalDazar/Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ if L then
L.confessor = "達薩萊告解者"
L.augur = "達薩萊占兆師"
--L.reanimated_honor_guard = "Reanimated Honor Guard"

--L.stairs_open = "Stairs Open"
--L.stairs_open_desc = "Show a bar indicating when the stairs open to Yazma."
--L.stairs_open_msg = "Impressive. You made it farther than I thought... but I will still be drinking your blood."
end
18 changes: 18 additions & 0 deletions BfA/AtalDazar/Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ if L then
L.confessor = "Dazar'ai Confessor"
L.augur = "Dazar'ai Augur"
L.reanimated_honor_guard = "Reanimated Honor Guard"

L.stairs_open = "Stairs Open"
L.stairs_open_desc = "Show a bar indicating when the stairs open to Yazma."
L.stairs_open_icon = "achievement_dungeon_ataldazar"
L.stairs_open_msg = "Impressive. You made it farther than I thought... but I will still be drinking your blood."
end

--------------------------------------------------------------------------------
Expand All @@ -43,6 +48,8 @@ end

function mod:GetOptions()
return {
-- RP Timers
"stairs_open",
-- Feasting Skyscreamer
255041, -- Terrifying Screech
-- T'lonja
Expand Down Expand Up @@ -79,6 +86,9 @@ function mod:GetOptions()
end

function mod:OnBossEnable()
-- RP Timers
self:RegisterEvent("CHAT_MSG_MONSTER_SAY")

-- Feasting Skyscreamer
self:Log("SPELL_CAST_START", "TerrifyingScreech", 255041)

Expand Down Expand Up @@ -124,6 +134,14 @@ end
-- Event Handlers
--

--RP Timers

function mod:CHAT_MSG_MONSTER_SAY(_, msg)
if msg == L.stairs_open_msg then
self:Bar("stairs_open", 12.3, L.stairs_open, L.stairs_open_icon)
end
end

-- Feasting Skyscreamer

function mod:TerrifyingScreech(args)
Expand Down
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