local mod	= DBM:NewMod("MawTrash", "DBM-Party-Legion", 8)
local L		= mod:GetLocalizedStrings()

mod:SetRevision("20200806142123")
--mod:SetEncounterID(1823)

mod.isTrashMod = true

mod:RegisterEvents(
	"SPELL_CAST_START 198405 195031"
)

local specWarnScream			= mod:NewSpecialWarningInterrupt(198405, "HasInterrupt", nil, nil, 1, 2)
local specWarnDefiantStrike		= mod:NewSpecialWarningDodge(195031, nil, nil, nil, 1, 2)

function mod:SPELL_CAST_START(args)
	if not self.Options.Enabled then return end
	local spellId = args.spellId
	if spellId == 198405 and self:CheckInterruptFilter(args.sourceGUID, false, true) then
		specWarnScream:Show(args.sourceName)
		specWarnScream:Play("kickcast")
	elseif spellId == 195031 and self:AntiSpam(3, 1) then
		specWarnDefiantStrike:Show()
		specWarnDefiantStrike:Play("chargemove")
	end
end
