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.
22 lines
564 B
22 lines
564 B
local mod = DBM:NewMod("DHTTrash", "DBM-Party-Legion", 2)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20200806142123")
|
|
--mod:SetModelID(47785)
|
|
|
|
mod.isTrashMod = true
|
|
|
|
mod:RegisterEvents(
|
|
"SPELL_CAST_START 198379"
|
|
)
|
|
|
|
local specWarnPrimalRampage = mod:NewSpecialWarningDodge(198379, "Melee", nil, nil, 1, 2)
|
|
|
|
function mod:SPELL_CAST_START(args)
|
|
if not self.Options.Enabled then return end
|
|
local spellId = args.spellId
|
|
if spellId == 198379 then
|
|
specWarnPrimalRampage:Show()
|
|
specWarnPrimalRampage:Play("chargemove")
|
|
end
|
|
end
|
|
|