local mod	= DBM:NewMod(425, "DBM-Party-Classic", 8, 232)
local L		= mod:GetLocalizedStrings()

mod:SetRevision(("$Revision: 7007 $"):sub(12, -3))
mod:SetCreatureID(13601)

mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
	"SPELL_CAST_SUCCESS 21833"
)

--TODO, support his other spells? technicaly they won't be cast if you stack on him
--TODO, more timer review on goblin Dragon Gun
local warningGoblinDragonGun		= mod:NewSpellAnnounce(21833, 2)

local timerGoblinDragonGunCD		= mod:NewCDTimer(20.7, 21833, nil, nil, nil, 3)

function mod:OnCombatStart(delay)
	timerGoblinDragonGunCD:Start(12.8-delay)
end

function mod:SPELL_CAST_SUCCESS(args)
	if args.spellId == 21833 then
		warningGoblinDragonGun:Show()
		timerGoblinDragonGunCD:Start()
	end
end