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.
37 lines
1014 B
37 lines
1014 B
|
2 years ago
|
local mod = DBM:NewMod(375, "DBM-Party-Vanilla", 2, 228)
|
||
|
|
local L = mod:GetLocalizedStrings()
|
||
|
|
|
||
|
|
mod:SetRevision("20231012014002")
|
||
|
|
mod:SetCreatureID(9041)
|
||
|
|
mod:SetEncounterID(233)
|
||
|
|
|
||
|
|
mod:RegisterCombat("combat")
|
||
|
|
|
||
|
|
--[[
|
||
|
|
mod:RegisterEventsInCombat(
|
||
|
|
"SPELL_CAST_START"
|
||
|
|
)
|
||
|
|
|
||
|
|
--local warningSoul = mod:NewTargetAnnounce(32346, 2)
|
||
|
|
|
||
|
|
local specWarnMaddeningCall = mod:NewSpecialWarningInterrupt(86620, "HasInterrupt", nil, nil, 1, 2)
|
||
|
|
|
||
|
|
local timerMaddeningCallCD = mod:NewAITimer(180, 86620, nil, nil, nil, 4, nil, DBM_COMMON_L.INTERRUPT_ICON)
|
||
|
|
|
||
|
|
function mod:OnCombatStart(delay)
|
||
|
|
timerMaddeningCallCD:Start(1-delay)
|
||
|
|
end
|
||
|
|
|
||
|
|
function mod:SPELL_CAST_START(args)
|
||
|
|
timerMaddeningCallCD:Start()
|
||
|
|
if args.spellId == 86620 and self:CheckInterruptFilter(args.sourceGUID, false, true) then
|
||
|
|
specWarnMaddeningCall:Show(args.sourceName)
|
||
|
|
specWarnMaddeningCall:Play("kickcast")
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
function mod:SPELL_AURA_APPLIED(args)
|
||
|
|
if args.spellId == 32346 then
|
||
|
|
warningSoul:Show(args.destName)
|
||
|
|
end
|
||
|
|
end--]]
|