Skip to content

Commit

Permalink
Firelands/Rhyolith: Add warnings for Heated Volcano & Magma Flow (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
stako authored Nov 17, 2024
1 parent 4101671 commit 2f5d333
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Firelands/Rhyolith.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ L = mod:GetLocale()
function mod:GetOptions()
return {
98552, 98136,
"armor", 97282, 98255, -2537, 101304
"armor", 97282, 98255, -2537, 101304, 98493, 97225
}, {
[98552] = L["adds_header"],
["armor"] = "general"
Expand All @@ -60,11 +60,14 @@ function mod:OnBossEnable()
self:Log("SPELL_SUMMON", "Fragments", 98136)
self:Log("SPELL_AURA_REMOVED_DOSE", "ObsidianStack", 98632)
self:Log("SPELL_AURA_REMOVED", "Obsidian", 98632)
self:Log("SPELL_CAST_SUCCESS", "HeatedVolcano", 98493)
self:Log("SPELL_CAST_SUCCESS", "MagmaFlow", 97225)
end

function mod:OnEngage()
self:Berserk(self:Heroic() and 300 or 360, nil, nil, 101304)
self:Bar(97282, 15, L["stomp"])
self:CDBar(98493, 30) -- Heated Volcano
self:RegisterUnitEvent("UNIT_HEALTH", nil, "boss1")
lastFragments = GetTime()
end
Expand All @@ -73,9 +76,19 @@ end
-- Event Handlers
--

function mod:HeatedVolcano(args)
self:MessageOld(args.spellId, "yellow", "info")
self:CDBar(98493, self:Heroic() and 25.5 or 40)
end

function mod:MagmaFlow(args)
mod:MessageOld(args.spellId, "red", "alarm")
end

function mod:Obsidian(args)
if self:MobId(args.destGUID) == 52558 then
self:MessageOld("armor", "green", nil, L["armor_gone_message"], args.spellId)
self:StopBar(98493) -- Heated Volcano
end
end

Expand Down

0 comments on commit 2f5d333

Please sign in to comment.