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.
36 lines
1.2 KiB
36 lines
1.2 KiB
local mod = DBM:NewMod("Diathorus", "DBM-Party-Vanilla", 21)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20240714212927")
|
|
mod:SetEncounterID(3024)
|
|
mod:SetCreatureID(227019)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_START 460755",
|
|
"SPELL_AURA_APPLIED 460759"
|
|
)
|
|
|
|
local specWarnGTFO = mod:NewSpecialWarningGTFO(460759, nil, nil, nil, 1, 8)
|
|
local specWarnVeilOfShadow = mod:NewSpecialWarningInterrupt(460755, "HasInterrupt", nil, nil, 1, 2)
|
|
|
|
-- Shadow Bolts can be kicked, but they are cast a lot, warnings would be very spammy
|
|
-- "Shadow Bolt-460749-npc:227019-000012D5C6 = pull:42.6, 1.7, 2.0, 3.2, 11.3, 7.0, 2.7, 1.6, 1.6, 9.7, 1.6, 4.8, 1.6, 1.6, 1.7",
|
|
|
|
-- Wowhead says to not stand in 460764, but I can't see that in my logs as a fire effect? Seems like a normal boss buff?
|
|
|
|
|
|
function mod:SPELL_CAST_START(args)
|
|
if args:IsSpell(460755) and self:CheckInterruptFilter(args.sourceGUID, nil, true) then
|
|
specWarnVeilOfShadow:Play("kickcast")
|
|
specWarnVeilOfShadow:Show(args.sourceName)
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args:IsSpell(460759) and args:IsPlayer() and self:AntiSpam(2.5, 1) then
|
|
specWarnGTFO:Play("watchfeet")
|
|
specWarnGTFO:Show(args.spellName)
|
|
end
|
|
end
|
|
|