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.
28 lines
666 B
28 lines
666 B
local mod = DBM:NewMod(426, "DBM-Party-Vanilla", 1, 227)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20231012014002")
|
|
mod:SetCreatureID(74565)
|
|
mod:SetEncounterID(1669)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_START 151159",
|
|
"SPELL_AURA_APPLIED 150634"
|
|
)
|
|
|
|
local warningGrip = mod:NewTargetAnnounce(150634, 2)
|
|
local warningDarknessCalls = mod:NewSpellAnnounce(151159, 3)
|
|
|
|
function mod:SPELL_CAST_START(args)
|
|
if args.spellId == 151159 then
|
|
warningDarknessCalls:Show()
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args.spellId == 150634 then
|
|
warningGrip:Show(args.destName)
|
|
end
|
|
end
|
|
|