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

Firelands: Add encounter ID's and respawn timers #19

Merged
merged 1 commit into from
Nov 9, 2024
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
3 changes: 2 additions & 1 deletion Firelands/Alysrazor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
local mod, CL = BigWigs:NewBoss("Alysrazor", 720, 194)
if not mod then return end
mod:RegisterEnableMob(52530, 53898, 54015, 53089) --Alysrazor, Voracious Hatchling, Majordomo Staghelm, Molten Feather
mod:SetEncounterID(1206)
mod:SetRespawnTime(30)

local woundTargets = mod:NewTargetList()
local meteorCount, moltCount, burnCount, initiateCount = 0, 0, 0, 0
Expand Down Expand Up @@ -98,7 +100,6 @@ function mod:OnBossEnable()
self:Log("SPELL_CAST_START", "Firestorm", 100744)
self:Log("SPELL_AURA_REMOVED", "FirestormOver", 100744)

self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus")
self:RegisterEvent("CHAT_MSG_MONSTER_YELL", "Initiates")

self:Death("Win", 52530)
Expand Down
3 changes: 2 additions & 1 deletion Firelands/Baleroc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
local mod = BigWigs:NewBoss("Baleroc", 720, 196)
if not mod then return end
mod:RegisterEnableMob(53494)
mod:SetEncounterID(1200)
mod:SetRespawnTime(30)

local countdownTargets = mod:NewTargetList()
local countdownCounter, shardCounter = 1, 0
Expand Down Expand Up @@ -47,7 +49,6 @@ function mod:OnBossEnable()
self:Log("SPELL_CAST_START", "Shards", 99259)
self:Log("SPELL_CAST_START", "Blades", 99352, 99350)
self:Log("SPELL_AURA_APPLIED_DOSE", "Torment", 99256)
self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus")

self:Death("Win", 53494)
end
Expand Down
4 changes: 2 additions & 2 deletions Firelands/Bethtilac.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
local mod, CL = BigWigs:NewBoss("Beth'tilac", 720, 192)
if not mod then return end
mod:RegisterEnableMob(52498)
mod:SetEncounterID(1197)
mod:SetRespawnTime(30)

--------------------------------------------------------------------------------
-- Locals
Expand Down Expand Up @@ -63,8 +65,6 @@ function mod:OnBossEnable()
self:Log("SPELL_CAST_START", "Devastate", 99052)
self:Log("SPELL_CAST_SUCCESS", "Flare", 99859)

self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus")

self:Death("Win", 52498)
end

Expand Down
4 changes: 2 additions & 2 deletions Firelands/Ragnaros.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
local mod, CL = BigWigs:NewBoss("Ragnaros", 720, 198)
if not mod then return end
mod:RegisterEnableMob(52409, 53231) --Ragnaros, Lava Scion
mod:SetEncounterID(1203)
mod:SetRespawnTime(30)

--------------------------------------------------------------------------------
-- Locals
Expand Down Expand Up @@ -90,8 +92,6 @@ function mod:OnBossEnable()
self:Log("SPELL_AURA_APPLIED", "BurningWound", 99399)
self:Log("SPELL_AURA_APPLIED_DOSE", "BurningWound", 99399)

self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus")

self:Death("Win", 52409)
self:Death("SonDeaths", 53140) -- Son of Flame
end
Expand Down
4 changes: 2 additions & 2 deletions Firelands/Rhyolith.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
local mod, CL = BigWigs:NewBoss("Lord Rhyolith", 720, 193)
if not mod then return end
mod:RegisterEnableMob(52577, 53087, 52558) -- Left foot, Right Foot, Lord Rhyolith
mod:SetEncounterID(1204)
mod:SetRespawnTime(30)

--------------------------------------------------------------------------------
-- Locals
Expand Down Expand Up @@ -59,8 +61,6 @@ function mod:OnBossEnable()
self:Log("SPELL_AURA_REMOVED_DOSE", "ObsidianStack", 98632)
self:Log("SPELL_AURA_REMOVED", "Obsidian", 98632)

self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus")

self:Death("Win", 52558)
end

Expand Down
4 changes: 2 additions & 2 deletions Firelands/Shannox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
local mod, CL = BigWigs:NewBoss("Shannox", 720, 195)
if not mod then return end
mod:RegisterEnableMob(53691, 53695, 53694) --Shannox, Rageface, Riplimb
mod:SetEncounterID(1205)
mod:SetRespawnTime(30)

--------------------------------------------------------------------------------
-- Localization
Expand Down Expand Up @@ -51,8 +53,6 @@ function mod:OnBossEnable()
self:Log("SPELL_CAST_SUCCESS", "HurlSpear", 99978)
self:Log("SPELL_SUMMON", "Traps", 99836, 99839) -- Throw Crystal Prison Trap, Throw Immolation Trap

self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus")

self:Death("Win", 53691)
end

Expand Down
4 changes: 2 additions & 2 deletions Firelands/Staghelm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
local mod, CL = BigWigs:NewBoss("Majordomo Staghelm", 720, 197)
if not mod then return end
mod:RegisterEnableMob(52571, 53619) --Staghelm, Druid of the Flame
mod:SetEncounterID(1185)
mod:SetRespawnTime(30)

--------------------------------------------------------------------------------
-- Locales
Expand Down Expand Up @@ -65,8 +67,6 @@ function mod:OnBossEnable()
self:Log("SPELL_AURA_REMOVED", "SearingSeedsRemoved", 98450)
self:Log("SPELL_CAST_START", "BurningOrbs", 98451)

self:RegisterEvent("INSTANCE_ENCOUNTER_ENGAGE_UNIT", "CheckBossStatus")

self:Death("Win", 52571)
end

Expand Down