local mod = DBM:NewMod("NLTrash", "DBM-Party-Legion", 5) local L = mod:GetLocalizedStrings() mod:SetRevision("20200806142123") --mod:SetModelID(47785) mod.isTrashMod = true mod:RegisterEvents( "SPELL_CAST_START 183088", "SPELL_AURA_APPLIED 200154 183407" ) local warnBurningHatred = mod:NewTargetAnnounce(200154, 3) local specWarnBurningHatred = mod:NewSpecialWarningYou(200154, nil, nil, nil, 1, 2) local specWarnAcidSplatter = mod:NewSpecialWarningMove(183407, nil, nil, nil, 1, 2) local specWarnAvalanche = mod:NewSpecialWarningDodge(183088, "Tank", nil, nil, 1, 2) function mod:SPELL_CAST_START(args) if not self.Options.Enabled then return end local spellId = args.spellId if spellId == 183088 and self:AntiSpam(2, 2) then specWarnAvalanche:Show() specWarnAvalanche:Play("shockwave") end end function mod:SPELL_AURA_APPLIED(args) if not self.Options.Enabled then return end local spellId = args.spellId if spellId == 200154 then if args:IsPlayer() then specWarnBurningHatred:Show() specWarnBurningHatred:Play("targetyou") else warnBurningHatred:Show(args.destName) end elseif spellId == 183407 and args:IsPlayer() and self:AntiSpam(3, 1) then specWarnAcidSplatter:Show() specWarnAcidSplatter:Play("runaway") end end