local mod	= DBM:NewMod(2656, "DBM-Party-Midnight", 1, 1299)
--local L		= mod:GetLocalizedStrings()--Nothing to localize for blank mods

mod:SetRevision("20260322092648")
mod:SetCreatureID(231626)--Kalis flagged as main boss, Latch (231629) is secondary
mod:SetEncounterID(3057)
--mod:SetHotfixNoticeRev(20250823000000)
--mod:SetMinSyncRevision(20250823000000)
mod:SetZone(2805)
mod.respawnTime = 29

mod:RegisterCombat("combat")

--mod:RegisterEventsInCombat(

--)

--Custom Sounds on cast/cooldown expiring
mod:AddCustomAlertSoundOption(472888, true, 1)--Bone Hack
mod:AddCustomAlertSoundOption(472736, true, 2)--Debilitating shriek
mod:AddCustomAlertSoundOption(474105, true, 2)--Curse of Darkness
--Custom timer colors, countdowns, and disables
mod:AddCustomTimerOptions(472888, true, 2, 0)--Bone Hack
mod:AddCustomTimerOptions(474105, true, 1, 0)--Curse of Darkness
mod:AddCustomTimerOptions(472736, true, 2, 0)--Debilitating Shriek
mod:AddCustomTimerOptions(472777, true, 3, 0)--Splattering Spew
mod:AddCustomTimerOptions(472795, true, 3, 0)--Heaving Yank
--Midnight private aura replacements
mod:AddPrivateAuraSoundOption({1253834,1215803}, true, 474105, 4, 1, "justrun", 2)--Curse of Darkness
mod:AddPrivateAuraSoundOption(472793, true, 472795, 1, 1, "behindboss", 2)--Heaving Yank
mod:AddPrivateAuraSoundOption(474129, true, 472745, 1, 1, "poolyou", 18)--Splattering Spew
mod:AddPrivateAuraSoundOption(472777, true, 472777, 4, 2, "watchfeet", 8)--Gunk Splatter GTFO

function mod:OnLimitedCombatStart()
	if self:IsTank() then
		self:EnableAlertOptions(472888, 25, "defensive", 2)
	end
	self:EnableAlertOptions(472736, 27, "aesoon", 2)
	self:EnableAlertOptions(474105, 26, "mobsoon", 2)

	self:EnableTimelineOptions(472888, 25)
	self:EnableTimelineOptions(474105, 26)
	self:EnableTimelineOptions(472736, 27)
	self:EnableTimelineOptions(472777, 28)
	self:EnableTimelineOptions(472795, 29)

end
