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.

45 lines
1.3 KiB

local mod = DBM:NewMod(483, "DBM-Party-Vanilla", DBM:IsPostCata() and 15 or 20, 241)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20240316010232")
mod:SetCreatureID(7273)
mod:SetEncounterID(594)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 11836",
"SPELL_CAST_SUCCESS 11902",
"SPELL_AURA_APPLIED 11836"
)
--TODO, no indication she actually has a heal, only lightning bolt and throns
local warningFreezeSolid = mod:NewTargetNoFilterAnnounce(11836, 2)
local warningSlam = mod:NewSpellAnnounce(11902, 2)
local timerFreezeSolidCD = mod:NewAITimer(180, 11836, nil, nil, nil, 3, nil, DBM_COMMON_L.MAGIC_ICON)
local timerSlamCD = mod:NewAITimer(180, 11902, nil, nil, nil, 2)
function mod:OnCombatStart(delay)
timerFreezeSolidCD:Start(1-delay)
timerSlamCD:Start(1-delay)
end
function mod:SPELL_CAST_START(args)
if args:IsSpell(11836) and args:IsSrcTypeHostile() then
timerFreezeSolidCD:Start()
end
end
function mod:SPELL_CAST_SUCCESS(args)
if args:IsSpell(11902) and args:IsSrcTypeHostile() then
warningSlam:Show()
timerSlamCD:Start()
end
end
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(11836) and args:IsDestTypePlayer() then
warningFreezeSolid:Show(args.destName)
end
end