Skip to content

Commit

Permalink
Updates and cleanups for classic
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Jun 22, 2024
1 parent ea1abfb commit 69b337f
Show file tree
Hide file tree
Showing 15 changed files with 92 additions and 144 deletions.
2 changes: 1 addition & 1 deletion Bastion/Halfus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function mod:OnEngage()
if self:Heroic() then -- May or may not happen on normal
self:CDBar(83707, 11, CL.count:format(CL.breath, scorchingBreathCount)) -- Scorching Breath
end
self:Berserk(360)
self:Berserk(360, true) -- All the dragon "freed" messages happen on engage
end

--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Blackwing/Atramedes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ do
self:SetInfo(77611, lineRef[i], shieldClickers[i] or "")
end
self:PlaySound(77611, "info")
elseif args.spellId == 77611 and (args.time - prev) > 0.1 then -- Rarely it seems like the player cast is missing in Stage 1
elseif args.spellId == 77611 and (args.time - prev) > 0.5 then -- Rarely it seems like the player cast is missing in Stage 1 (hotfix might have worked, monitor this)
shieldCount = shieldCount + 1
table.insert(shieldClickers, 2, ("%d ?"):format(shieldCount))
self:Message(77611, "cyan", CL.other:format(CL.count:format(CL.shield, shieldCount), "?"), false)
Expand Down
114 changes: 68 additions & 46 deletions Blackwing/Chimaeron.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ mod:RegisterEnableMob(43296)
mod:SetEncounterID(1023)
mod:SetRespawnTime(30)

--------------------------------------------------------------------------------
-- Locals
--

local massacreCount = 1
local systemsFailureCount = 0

--------------------------------------------------------------------------------
-- Localization
--

local L = mod:GetLocale()
if L then
L.bileotron_engage = "The Bile-O-Tron springs to life and begins to emit a foul smelling substance."

L.next_system_failure = "Next System Failure"

L.phase2_message = "Mortality phase soon!"
end

--------------------------------------------------------------------------------
Expand All @@ -28,84 +31,103 @@ end
function mod:GetOptions()
return {
"warmup",
82848, -- Massacre
{82848, "CASTBAR", "CASTBAR_COUNTDOWN"}, -- Massacre
88826, -- Double Attack
82881, -- Break
88853, -- Systems Failure
{88853, "EMPHASIZE"}, -- Systems Failure
82935, -- Caustic Slime
82890, -- Mortality
"berserk"
}, {
warmup = "normal",
berserk = "general"
}
end

function mod:OnBossEnable()
self:RegisterEvent("CHAT_MSG_MONSTER_EMOTE")

self:Log("SPELL_AURA_APPLIED", "SystemFailureStart", 88853)
self:Log("SPELL_AURA_REMOVED", "SystemFailureEnd", 88853)
self:Log("SPELL_CAST_SUCCESS", "PipsMixture", 82705)
self:Log("SPELL_AURA_APPLIED", "SystemsFailureApplied", 88853)
self:Log("SPELL_AURA_REMOVED", "SystemsFailureRemoved", 88853)
self:Log("SPELL_AURA_APPLIED", "BreakApplied", 82881)
self:Log("SPELL_AURA_APPLIED_DOSE", "BreakApplied", 82881)
self:Log("SPELL_AURA_REFRESH", "BreakRefresh", 82881)
self:Log("SPELL_AURA_APPLIED", "DoubleAttackApplied", 88826)
self:Log("SPELL_AURA_REMOVED", "DoubleAttackRemoved", 88826)
self:Log("SPELL_CAST_START", "MassacreStart", 82848)
self:Log("SPELL_CAST_SUCCESS", "Massacre", 82848)
self:Log("SPELL_CAST_SUCCESS", "Mortality", 82890)
self:Log("SPELL_AURA_APPLIED", "Break", 82881)
self:Log("SPELL_AURA_APPLIED_DOSE", "Break", 82881)
self:Log("SPELL_AURA_APPLIED", "DoubleAttack", 88826)
self:Log("SPELL_CAST_START", "Massacre", 82848)
end

function mod:OnEngage()
massacreCount = 1
systemsFailureCount = 0
self:StopBar(CL.active)
self:Berserk(450)
if not self:Heroic() then
self:CDBar(88853, 90, L["next_system_failure"]) -- Systems Failure, happens randomly at either 60 or 90 on heroic
end
self:Bar(82848, 30) --Massacre
self:CDBar(82881, 4.8) -- Break
self:Bar(82935, 15) -- Caustic Slime
self:Bar(82848, 25, CL.count:format(self:SpellName(82848), massacreCount)) -- Massacre
self:RegisterUnitEvent("UNIT_HEALTH", nil, "boss1")
end

--------------------------------------------------------------------------------
-- Event Handlers
--

function mod:CHAT_MSG_MONSTER_EMOTE(_, msg)
if msg == L["bileotron_engage"] then
self:Bar("warmup", 30, CL.active, "achievement_dungeon_blackwingdescent_raid_chimaron")
function mod:PipsMixture()
self:Bar("warmup", 30, CL.active, "achievement_dungeon_blackwingdescent_raid_chimaron")
end

function mod:SystemsFailureApplied(args)
systemsFailureCount = systemsFailureCount + 1
if self:Normal() then
self:StopBar(82881) -- Break
end
local msg = CL.count:format(args.spellName, systemsFailureCount)
self:Bar(args.spellId, 25, msg)
self:Message(args.spellId, "red", msg)
self:PlaySound(args.spellId, "warning")
end

function mod:SystemFailureStart(args)
self:StopBar(L["next_system_failure"])
self:Bar(args.spellId, 30)
self:Message(args.spellId, "red")
self:PlaySound(args.spellId, "alarm")
function mod:SystemsFailureRemoved()
massacreCount = 0
end

function mod:SystemFailureEnd(args)
if self:IsEngaged() then -- To prevent firing after a wipe
if not self:Heroic() then
self:CDBar(args.spellId, 65, L["next_system_failure"])
end
function mod:BreakApplied(args)
self:StackMessage(args.spellId, "purple", args.destName, args.amount, 3)
self:CDBar(args.spellId, 14.2)
end

function mod:BreakRefresh(args) -- Max 4 stacks, then refreshes
self:CDBar(args.spellId, 14.2)
end

function mod:DoubleAttackApplied(args)
self:Message(args.spellId, "purple")
if self:Tank() then
self:PlaySound(args.spellId, "alert")
end
end

function mod:Massacre(args)
self:Message(args.spellId, "yellow")
self:Bar(args.spellId, 30)
self:Bar(82935, 19) --Caustic Slime
function mod:DoubleAttackRemoved(args)
self:Message(args.spellId, "green", CL.over:format(args.spellName))
end

function mod:Mortality(args)
self:Message(args.spellId, "red")
self:StopBar(L["next_system_failure"])
self:PlaySound(args.spellId, "long")
function mod:MassacreStart(args)
self:Message(args.spellId, "yellow", CL.count:format(args.spellName, massacreCount))
self:CastBar(args.spellId, 4)
self:CDBar(82881, 13.6) -- Break
self:PlaySound(args.spellId, "info")
end

function mod:Break(args)
self:StackMessage(args.spellId, "yellow", args.destName, args.amount, 3)
function mod:Massacre(args)
massacreCount = massacreCount + 1
self:Bar(args.spellId, 25, CL.count:format(args.spellName, massacreCount))
self:Bar(82935, 15) -- Caustic Slime
end

function mod:DoubleAttack(args)
self:Message(args.spellId, "orange")
function mod:Mortality(args)
self:StopBar(CL.count:format(self:SpellName(88853), systemsFailureCount)) -- Systems Failure
self:StopBar(CL.count:format(self:SpellName(82848), massacreCount)) -- Massacre
self:StopBar(82935) -- Caustic Slime
self:Message(args.spellId, "orange", CL.percent:format(20, args.spellName))
self:PlaySound(args.spellId, "long")
end

function mod:UNIT_HEALTH(event, unit)
Expand Down
6 changes: 0 additions & 6 deletions Blackwing/Locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if L then
L.slump_desc = "Warnt vor dem nach vorne Schlittern, das das Rodeo erlaubt zu starten."
L.slump_bar = "Rodeo"
L.slump_message = "Yeehaa, Rodeo!"

L.expose_emote_trigger = "Kopf" -- check
end

L = BigWigs:NewBossLocale("Omnotron Defense System", "deDE")
Expand All @@ -27,10 +25,6 @@ end
L = BigWigs:NewBossLocale("Chimaeron", "deDE")
if L then
L.bileotron_engage = "Der Gall-O-Tron springt an und stößt eine übel riechende Substanz aus."

L.next_system_failure = "Systemversagen"

L.phase2_message = "Sterblichkeitsphase bald!"
end

L = BigWigs:NewBossLocale("Atramedes", "deDE")
Expand Down
6 changes: 0 additions & 6 deletions Blackwing/Locales/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if L then
L.slump_desc = "Cae hacia delante exponiendose a sí mismo, permitiendo que el rodeo empiece."
L.slump_bar = "Rodeo"
L.slump_message = "¡Yeepah, móntalo!"

L.expose_emote_trigger = "cabeza"
end

L = BigWigs:NewBossLocale("Omnotron Defense System", "esES")
Expand All @@ -27,10 +25,6 @@ end
L = BigWigs:NewBossLocale("Chimaeron", "esES")
if L then
L.bileotron_engage = "El Bilistrón se activa y empieza a emitir una sustancia de olor asqueroso."

L.next_system_failure = "Siguiente fallo del sistema"

L.phase2_message = "¡Fase de Mortalidad pronto!"
end

L = BigWigs:NewBossLocale("Atramedes", "esES")
Expand Down
6 changes: 0 additions & 6 deletions Blackwing/Locales/esMX.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if L then
L.slump_desc = "Cae hacia delante exponiendose a sí mismo, permitiendo que el rodeo empiece."
L.slump_bar = "Rodeo"
L.slump_message = "¡Yeepah, móntalo!"

L.expose_emote_trigger = "cabeza"
end

L = BigWigs:NewBossLocale("Omnotron Defense System", "esMX")
Expand All @@ -27,10 +25,6 @@ end
L = BigWigs:NewBossLocale("Chimaeron", "esMX")
if L then
L.bileotron_engage = "El Bilistrón se activa y empieza a emitir una sustancia de olor asqueroso."

L.next_system_failure = "Siguiente fallo del sistema"

L.phase2_message = "¡Fase de Mortalidad pronto!"
end

L = BigWigs:NewBossLocale("Atramedes", "esMX")
Expand Down
6 changes: 0 additions & 6 deletions Blackwing/Locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if L then
L.slump_desc = "Prévient quand le boss s'affale vers l'avant et s'expose, permettant ainsi au rodéo de commencer."
L.slump_bar = "Rodéo"
L.slump_message = "Yeehaw, chevauchez !"

L.expose_emote_trigger = "expose sa tête"
end

L = BigWigs:NewBossLocale("Omnotron Defense System", "frFR")
Expand All @@ -27,10 +25,6 @@ end
L = BigWigs:NewBossLocale("Chimaeron", "frFR")
if L then
L.bileotron_engage = "Le bile-o-tron s'anime et commence à secréter une substance malodorante."

L.next_system_failure = "Prochaine Défaillance"

L.phase2_message = "Phase Mortalité imminente !"
end

L = BigWigs:NewBossLocale("Atramedes", "frFR")
Expand Down
6 changes: 0 additions & 6 deletions Blackwing/Locales/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if L then
L.slump_desc = "Avvisa il crollo di Magmaw ed espone la sua testa, permettendo ai cavalcatori del rodeo di iniziare."
L.slump_bar = "Rodeo"
L.slump_message = "Oh Sììì, cavalchiamo!!!"

L.expose_emote_trigger = "testa"
end

L = BigWigs:NewBossLocale("Omnotron Defense System", "itIT")
Expand All @@ -33,10 +31,6 @@ end
L = BigWigs:NewBossLocale("Chimaeron", "itIT")
if L then
L.bileotron_engage = "Il BileTron 800 ritorna in vita ed emette una strana sostanza odorosa."

L.next_system_failure = "Prossimo Errore di Sistema"

L.phase2_message = "Fase Mortalità tra poco!"
end

L = BigWigs:NewBossLocale("Maloriak", "itIT")
Expand Down
6 changes: 0 additions & 6 deletions Blackwing/Locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if L then
L.slump_desc = "슬럼프 상태를 알립니다."
L.slump_bar = "로데오"
L.slump_message = "올라타세요~!"

L.expose_emote_trigger = "%s|1이;가; 창에 꽂혀 머리가 노출되었습니다!"
end

L = BigWigs:NewBossLocale("Omnotron Defense System", "koKR")
Expand All @@ -27,10 +25,6 @@ end
L = BigWigs:NewBossLocale("Chimaeron", "koKR")
if L then
L.bileotron_engage = "담즙로봇이 움직이기 시작하더니 고약한 냄새가 나는 물질을 방출합니다."

L.next_system_failure = "다음 시스템 오류"

L.phase2_message = "곧 치명상 단계!"
end

L = BigWigs:NewBossLocale("Atramedes", "koKR")
Expand Down
6 changes: 0 additions & 6 deletions Blackwing/Locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if L then
L.slump_desc = "Magorja cai e fica exposto, permitindo que o rodeio começe."
L.slump_bar = "Rodeio"
L.slump_message = "Yeeeha!! MONTA NELE!!"

L.expose_emote_trigger = "cabeça"
end

L = BigWigs:NewBossLocale("Omnotron Defense System", "ptBR")
Expand All @@ -27,10 +25,6 @@ end
L = BigWigs:NewBossLocale("Chimaeron", "ptBR")
if L then
L.bileotron_engage = "O Vomitomático é ativado e começa a emitir uma substância de cheiro repelente.."

L.next_system_failure = "Próxima falha de sistema"

L.phase2_message = "Fase de mortalidade iminente!"
end

L = BigWigs:NewBossLocale("Atramedes", "ptBR")
Expand Down
6 changes: 0 additions & 6 deletions Blackwing/Locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if L then
L.slump_desc = "Магмарь падает вперед открывая себя, позволяя начать родео."
L.slump_bar = "Родео"
L.slump_message = "Йихо, погнали!"

L.expose_emote_trigger = "голову"
end

L = BigWigs:NewBossLocale("Omnotron Defense System", "ruRU")
Expand All @@ -27,10 +25,6 @@ end
L = BigWigs:NewBossLocale("Chimaeron", "ruRU")
if L then
L.bileotron_engage = "Желче-трон оживает и начинает извергать из себя некое вонючее вещество."

L.next_system_failure = "Системная ошибка"

L.phase2_message = "Скоро фаза Смертности!"
end

L = BigWigs:NewBossLocale("Atramedes", "ruRU")
Expand Down
6 changes: 0 additions & 6 deletions Blackwing/Locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if L then
L.slump_desc = "当熔喉扑倒并暴露后脑时发出警报。需要骑乘。"
L.slump_bar = "骑乘"
L.slump_message = "嘿,快骑上它!"

L.expose_emote_trigger = "将自己钉在刺上,露出了他的头"
end

L = BigWigs:NewBossLocale("Omnotron Defense System", "zhCN")
Expand All @@ -27,10 +25,6 @@ end
L = BigWigs:NewBossLocale("Chimaeron", "zhCN")
if L then
L.bileotron_engage = "胆汁喷洒机"

L.next_system_failure = "下一系统当机"

L.phase2_message = "即将 至死方休阶段!"
end

L = BigWigs:NewBossLocale("Atramedes", "zhCN")
Expand Down
6 changes: 0 additions & 6 deletions Blackwing/Locales/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ if L then
L.slump_desc = "當熔喉撲倒並暴露時發出警報。"
L.slump_bar = "騎乘"
L.slump_message = "嘿,快騎上它!"

L.expose_emote_trigger = "露出了他的頭"
end

L = BigWigs:NewBossLocale("Omnotron Defense System", "zhTW")
Expand All @@ -27,10 +25,6 @@ end
L = BigWigs:NewBossLocale("Chimaeron", "zhTW")
if L then
L.bileotron_engage = "「好膽」機器人開始活動,並且噴出一種惡臭的物質。"

L.next_system_failure = "下一系統失效"

L.phase2_message = "即將 致命性階段!"
end

L = BigWigs:NewBossLocale("Atramedes", "zhTW")
Expand Down
Loading

0 comments on commit 69b337f

Please sign in to comment.