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

Classic/KarazhanCrypts/HarbingerOfSin: Add boss module #1263

Merged
merged 1 commit into from
Feb 8, 2025
Merged
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
39 changes: 39 additions & 0 deletions Classic/KarazhanCrypts/HarbingerOfSin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,54 @@ end

function mod:GetOptions()
return {
1222775, -- Incendiary Crash
1219387, -- Flame Whirl
1219420, -- Pull of the damned
1220927, -- Inferno
}
end

function mod:OnBossEnable()
self:Log("SPELL_CAST_SUCCESS", "IncendiaryCrash", 1222775)
self:Log("SPELL_CAST_START", "FlameWhirl", 1219387)
self:Log("SPELL_CAST_START", "PullOfTheDamned", 1219420)
self:Log("SPELL_CAST_START", "Inferno", 1220927)
end

function mod:OnEngage()
self:CDBar(1222775, 8.1) -- Incendiary Crash
self:CDBar(1219387, 13.0) -- Flame Whirl
self:CDBar(1219420, 30.7) -- Pull of the damned
self:CDBar(1220927, 43.7) -- Inferno
end

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

function mod:IncendiaryCrash(args)
self:Message(args.spellId, "orange")
self:CDBar(args.spellId, 11.3)
self:PlaySound(args.spellId, "alarm")
end

function mod:FlameWhirl(args)
self:Message(args.spellId, "red")
self:CDBar(args.spellId, 38.8)
self:PlaySound(args.spellId, "alert")
end

function mod:PullOfTheDamned(args)
self:Message(args.spellId, "cyan")
self:CDBar(1220927, {13.0, 43.7}) -- Inferno
self:CDBar(1219387, {19.4, 38.8}) -- Flame Whirl
self:CDBar(1222775, 25.9) -- Incendiary Crash
self:CDBar(args.spellId, 43.7)
self:PlaySound(args.spellId, "long")
end

function mod:Inferno(args)
self:Message(args.spellId, "yellow")
self:CDBar(args.spellId, 43.7)
self:PlaySound(args.spellId, "warning")
end
4 changes: 4 additions & 0 deletions Classic/KarazhanCrypts/Options/Colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ BigWigs:AddColors("Goblins", {
})

BigWigs:AddColors("Harbinger of Sin", {
[1219387] = "red",
[1219420] = "cyan",
[1220927] = "yellow",
[1222775] = "orange",
})

BigWigs:AddColors("Kharon", {
Expand Down
4 changes: 4 additions & 0 deletions Classic/KarazhanCrypts/Options/Sounds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ BigWigs:AddSounds("Goblins", {
})

BigWigs:AddSounds("Harbinger of Sin", {
[1219387] = "alert",
[1219420] = "long",
[1220927] = "warning",
[1222775] = "alarm",
})

BigWigs:AddSounds("Kharon", {
Expand Down