Skip to content

Commit

Permalink
Merge branch 'master' into patch-45
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle authored Dec 1, 2023
2 parents 8a6ba01 + 68c5e0e commit 6978cbd
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 14 deletions.
3 changes: 2 additions & 1 deletion Legion/ArtifactScenarios/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ if L then
L.name = "Erzmagier Xylem"
L.corruptingShadows = "Verderbende Schatten"

--L.warmup_trigger1 = "You are too late, warrior! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!"
--L.warmup_trigger1 = "With the Focusing Iris under my control" -- You are too late, demon hunter! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!
--L.warmup_trigger2 = "Drained of magic, your world will be ripe" -- Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!
end

L = BigWigs:NewBossLocale("Agatha", "deDE")
Expand Down
3 changes: 2 additions & 1 deletion Legion/ArtifactScenarios/Locales/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ if L then
L.name = "Archimago Xylem"
L.corruptingShadows = "Sombra corruptora"

--L.warmup_trigger1 = "You are too late, warrior! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!"
--L.warmup_trigger1 = "With the Focusing Iris under my control" -- You are too late, demon hunter! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!
--L.warmup_trigger2 = "Drained of magic, your world will be ripe" -- Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!
end

L = BigWigs:NewBossLocale("Agatha", "esES") or BigWigs:NewBossLocale("Agatha", "esMX")
Expand Down
3 changes: 2 additions & 1 deletion Legion/ArtifactScenarios/Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ if L then
L.name = "Archimage Xylem"
L.corruptingShadows = "Ombres corruptrices"

--L.warmup_trigger1 = "You are too late, warrior! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!"
--L.warmup_trigger1 = "With the Focusing Iris under my control" -- You are too late, demon hunter! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!
--L.warmup_trigger2 = "Drained of magic, your world will be ripe" -- Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!
end

L = BigWigs:NewBossLocale("Agatha", "frFR")
Expand Down
3 changes: 2 additions & 1 deletion Legion/ArtifactScenarios/Locales/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ if L then
L.name = "Arcimago Xylem"
L.corruptingShadows = "Ombre Corrompenti"

--L.warmup_trigger1 = "You are too late, warrior! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!"
--L.warmup_trigger1 = "With the Focusing Iris under my control" -- You are too late, demon hunter! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!
--L.warmup_trigger2 = "Drained of magic, your world will be ripe" -- Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!
end

L = BigWigs:NewBossLocale("Agatha", "itIT")
Expand Down
3 changes: 2 additions & 1 deletion Legion/ArtifactScenarios/Locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ if L then
L.name = "대마법사 실렘"
L.corruptingShadows = "타락의 그림자"

--L.warmup_trigger1 = "You are too late, warrior! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!"
--L.warmup_trigger1 = "With the Focusing Iris under my control" -- You are too late, demon hunter! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!
--L.warmup_trigger2 = "Drained of magic, your world will be ripe" -- Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!
end

L = BigWigs:NewBossLocale("Agatha", "koKR")
Expand Down
3 changes: 2 additions & 1 deletion Legion/ArtifactScenarios/Locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ if L then
L.name = "Arquimago Tauriel"
L.corruptingShadows = "Sombras Corruptoras"

--L.warmup_trigger1 = "You are too late, warrior! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!"
--L.warmup_trigger1 = "With the Focusing Iris under my control" -- You are too late, demon hunter! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!
--L.warmup_trigger2 = "Drained of magic, your world will be ripe" -- Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!
end

L = BigWigs:NewBossLocale("Agatha", "ptBR")
Expand Down
3 changes: 2 additions & 1 deletion Legion/ArtifactScenarios/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ if L then
L.name = "Верховный маг Ксилем"
L.corruptingShadows = "Гибельная тень"

--L.warmup_trigger1 = "You are too late, warrior! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!"
--L.warmup_trigger1 = "With the Focusing Iris under my control" -- You are too late, demon hunter! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!
--L.warmup_trigger2 = "Drained of magic, your world will be ripe" -- Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!
end

L = BigWigs:NewBossLocale("Agatha", "ruRU")
Expand Down
3 changes: 2 additions & 1 deletion Legion/ArtifactScenarios/Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ if L then
L.name = "大法师克希雷姆"
L.corruptingShadows = "腐蚀暗影"

L.warmup_trigger1 = "你太迟了,<class>!掌握了聚焦之虹,我就能直接从艾泽拉斯的魔网中抽取奥术能量来强化自身的法力!" --猎人进本NPC喊的是猎人,<class>是任务插件Questie任务描述常用的。
L.warmup_trigger1 = "掌握了聚焦之虹" -- You are too late, demon hunter! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!
--L.warmup_trigger2 = "Drained of magic, your world will be ripe" -- Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!
end

L = BigWigs:NewBossLocale("Agatha", "zhCN")
Expand Down
3 changes: 2 additions & 1 deletion Legion/ArtifactScenarios/Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ if L then
-- L.name = "Archmage Xylem"
-- L.corruptingShadows = "Corrupting Shadows"

--L.warmup_trigger1 = "You are too late, warrior! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!"
--L.warmup_trigger1 = "With the Focusing Iris under my control" -- You are too late, demon hunter! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!
--L.warmup_trigger2 = "Drained of magic, your world will be ripe" -- Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!
end

L = BigWigs:NewBossLocale("Agatha", "zhTW")
Expand Down
13 changes: 8 additions & 5 deletions Legion/ArtifactScenarios/Xylem.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

--------------------------------------------------------------------------------
-- Module Declaration
--
Expand Down Expand Up @@ -38,8 +37,8 @@ if L then
L.name = "Archmage Xylem"
L.corruptingShadows = "Corrupting Shadows"

L.warmup_trigger1 = "You are too late, warrior! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!"
-- L.warmup_trigger2 = "Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!"
L.warmup_trigger1 = "With the Focusing Iris under my control" -- You are too late, demon hunter! With the Focusing Iris under my control, I can siphon the arcane energy from Azeroth's ley lines directly into my magnificent self!
L.warmup_trigger2 = "Drained of magic, your world will be ripe" -- Drained of magic, your world will be ripe for destruction by my demon masters... and my power will be limitless!
end

--------------------------------------------------------------------------------
Expand Down Expand Up @@ -128,15 +127,19 @@ end
-- Archmage Xylem

function mod:Warmup(event, msg)
if msg == L.warmup_trigger1 then
if msg:find(L.warmup_trigger1, nil, true) then
self:UnregisterEvent(event)
self:Bar("warmup", 27.6, CL.active, "spell_mage_focusingcrystal")
elseif msg:find(L.warmup_trigger2, nil, true) then
self:UnregisterEvent(event)
self:Bar("warmup", 28, CL.active, "spell_mage_focusingcrystal")
self:Bar("warmup", 13.3, CL.active, "spell_mage_focusingcrystal")
end
end

function mod:UNIT_SPELLCAST_SUCCEEDED(_, _, _, spellId)
if spellId == 242015 then -- Blink
local spellName = self:SpellName(spellId)
self:StopBar(blinkSpells[blinkCount] and ("%s (%s)"):format(spellName, self:SpellName(blinkSpells[blinkCount])) or spellName)
self:MessageOld(242015, "yellow", nil, blinkSpells[blinkCount] and ("%s (%s)"):format(spellName, self:SpellName(blinkSpells[blinkCount])) or spellName)
blinkCount = blinkCount + 1
self:CDBar(242015, 26, blinkSpells[blinkCount] and ("%s (%s)"):format(spellName, self:SpellName(blinkSpells[blinkCount])) or spellName)
Expand Down

0 comments on commit 6978cbd

Please sign in to comment.