You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
787 B

local mod = DBM:NewMod("DHTTrash", "DBM-Party-Legion", 2)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20231002213503")
--mod:SetModelID(47785)
mod:SetZone(1466)
mod.isTrashMod = true
mod:RegisterEvents(
"SPELL_CAST_START 198379"
)
local specWarnPrimalRampage = mod:NewSpecialWarningDodge(198379, "Melee", nil, nil, 1, 2)
--Antispam IDs for this mod: 1 run away, 2 dodge, 3 dispel, 4 incoming damage, 5 you/role, 6 misc, 7 off interrupt
function mod:SPELL_CAST_START(args)
if not self.Options.Enabled then return end
if not self:IsValidWarning(args.sourceGUID) then return end
local spellId = args.spellId
if spellId == 198379 and self:AntiSpam(3, 2) then
specWarnPrimalRampage:Show()
specWarnPrimalRampage:Play("chargemove")
end
end