Skip to content

Commit

Permalink
Dragonflight/DawnOfTheInfinite: Manifested Timeways warmup bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed Dec 21, 2023
1 parent 1d65b1f commit f13113b
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dragonflight/DawnOfTheInfinite/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ if L then

L.custom_on_rift_autotalk = "Automatisch ansprechen"
L.custom_on_rift_autotalk_desc = "Sofort den Temporalriss öffnen lassen."

--L.manifested_timeways_warmup_trigger = "Even the Aspect of Time cannot be allowed to disrupt the timeways!"
end
2 changes: 2 additions & 0 deletions Dragonflight/DawnOfTheInfinite/Locales/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ if L then

L.custom_on_rift_autotalk = "Hablar automáticamente"
--L.custom_on_rift_autotalk_desc = "Instantly start channeling to open the Temporal Rift."

--L.manifested_timeways_warmup_trigger = "Even the Aspect of Time cannot be allowed to disrupt the timeways!"
end
2 changes: 2 additions & 0 deletions Dragonflight/DawnOfTheInfinite/Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ if L then

L.custom_on_rift_autotalk = "Parler automatiquement"
--L.custom_on_rift_autotalk_desc = "Instantly start channeling to open the Temporal Rift."

--L.manifested_timeways_warmup_trigger = "Even the Aspect of Time cannot be allowed to disrupt the timeways!"
end
2 changes: 2 additions & 0 deletions Dragonflight/DawnOfTheInfinite/Locales/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ if L then

--L.custom_on_rift_autotalk = "Autotalk"
--L.custom_on_rift_autotalk_desc = "Instantly start channeling to open the Temporal Rift."

--L.manifested_timeways_warmup_trigger = "Even the Aspect of Time cannot be allowed to disrupt the timeways!"
end
2 changes: 2 additions & 0 deletions Dragonflight/DawnOfTheInfinite/Locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ if L then

L.custom_on_rift_autotalk = "자동 대화"
--L.custom_on_rift_autotalk_desc = "Instantly start channeling to open the Temporal Rift."

--L.manifested_timeways_warmup_trigger = "Even the Aspect of Time cannot be allowed to disrupt the timeways!"
end
2 changes: 2 additions & 0 deletions Dragonflight/DawnOfTheInfinite/Locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ if L then

L.custom_on_rift_autotalk = "Conversa Automática"
--L.custom_on_rift_autotalk_desc = "Instantly start channeling to open the Temporal Rift."

--L.manifested_timeways_warmup_trigger = "Even the Aspect of Time cannot be allowed to disrupt the timeways!"
end
2 changes: 2 additions & 0 deletions Dragonflight/DawnOfTheInfinite/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ if L then

L.custom_on_rift_autotalk = "Авторазговор"
--L.custom_on_rift_autotalk_desc = "Instantly start channeling to open the Temporal Rift."

--L.manifested_timeways_warmup_trigger = "Even the Aspect of Time cannot be allowed to disrupt the timeways!"
end
2 changes: 2 additions & 0 deletions Dragonflight/DawnOfTheInfinite/Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ if L then

L.custom_on_rift_autotalk = "自动对话"
L.custom_on_rift_autotalk_desc = "立即开始引导裂隙稳定度来打开时光裂隙。"

--L.manifested_timeways_warmup_trigger = "Even the Aspect of Time cannot be allowed to disrupt the timeways!"
end
2 changes: 2 additions & 0 deletions Dragonflight/DawnOfTheInfinite/Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ if L then

L.custom_on_rift_autotalk = "自動對話"
L.custom_on_rift_autotalk_desc = "立即開始引導裂隙穩定度來打開時光裂隙。"

--L.manifested_timeways_warmup_trigger = "Even the Aspect of Time cannot be allowed to disrupt the timeways!"
end
12 changes: 12 additions & 0 deletions Dragonflight/DawnOfTheInfinite/ManifestedTimeways.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ mod:SetRespawnTime(30)

function mod:GetOptions()
return {
"warmup",
{405696, "SAY"}, -- Chrono-faded
405431, -- Fragments of Time
414303, -- Unwind
Expand Down Expand Up @@ -41,6 +42,17 @@ end
-- Event Handlers
--

function mod:Warmup()
-- triggered from trash module on CHAT_MSG_MONSTER_YELL
-- 11.22 [CLEU] SPELL_AURA_REMOVED#Creature-198996#Manifested Timeways#413329#Sand Zone
-- 12.85 [CHAT_MSG_MONSTER_YELL] Even the Aspect of Time cannot be allowed to disrupt the timeways!#Manifested Timeways
-- 25.01 [UNIT_SPELLCAST_SUCCEEDED] Manifested Timeways -Timeways- [417483]
-- 26.24 [UNIT_SPELLCAST_SUCCEEDED] Manifested Timeways -Anchor Here- [45313]
-- 26.24 [UNIT_SPELLCAST_SUCCEEDED] Manifested Timeways -Timeways- [415269]
-- 26.24 [ENCOUNTER_START] 2667#Manifested Timeways
self:Bar("warmup", 13.4, CL.active, "spell_holy_borrowedtime")
end

do
local playerList = {}

Expand Down
9 changes: 9 additions & 0 deletions Dragonflight/DawnOfTheInfinite/Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ if L then

L.custom_on_rift_autotalk = "Autotalk"
L.custom_on_rift_autotalk_desc = "Instantly start channeling to open the Temporal Rift."

L.manifested_timeways_warmup_trigger = "Even the Aspect of Time cannot be allowed to disrupt the timeways!"
end

--------------------------------------------------------------------------------
Expand Down Expand Up @@ -324,6 +326,13 @@ function mod:CHAT_MSG_MONSTER_YELL(_, msg)
iridikronModule:Enable()
iridikronModule:Warmup()
end
elseif msg == L.manifested_timeways_warmup_trigger then
-- Manifested Timeways warmup
local manifestedTimewaysModule = BigWigs:GetBossModule("Manifested Timeways", true)
if manifestedTimewaysModule then
manifestedTimewaysModule:Enable()
manifestedTimewaysModule:Warmup()
end
end
end

Expand Down

0 comments on commit f13113b

Please sign in to comment.