local mod	= DBM:NewMod("BloodmageThalnos", "DBM-Party-Vanilla", DBM:IsPostCata() and 17 or 12)
local L		= mod:GetLocalizedStrings()

mod:SetRevision("20260315034941")
mod:DisableHardcodedOptions()
mod:SetCreatureID(4543)
mod:SetEncounterID(mod:IsClassic() and 2779 or mod:IsRetail() and 2818 or 445)--445 in TBC and Wrath
mod:SetZone(189)

mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
	"SPELL_CAST_START 8814",
	"SPELL_CAST_SUCCESS 12470"
)

--TODO, still can't use CD timer yet because only have initial timers from a single log, Fire nova timer too variable (8.5, 21 wtf?) to be useful
local warningFlameSpike				= mod:NewSpellAnnounce(8814, 2)
local warningFireNova				= mod:NewSpellAnnounce(12470, 2)

local timerFlameSpikeCD				= mod:NewAITimer(180, 8814, nil, nil, nil, 3)

function mod:OnCombatStart(delay)
	--timerFlameSpikeCD:Start(15.8-delay)
end

function mod:SPELL_CAST_START(args)
	if args:IsSpell(8814) then
		warningFlameSpike:Show()
		timerFlameSpikeCD:Start()
	end
end

function mod:SPELL_CAST_SUCCESS(args)
	if args:IsSpell(12470) then
		warningFireNova:Show()
	end
end
