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.
|
|
|
|
local mod = DBM:NewMod("HydromancerVelrath", "DBM-Party-Vanilla", DBM:IsPostCata() and 15 or 20)
|
|
|
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
|
|
|
|
|
|
mod:SetRevision("20240316010232")
|
|
|
|
|
mod:SetCreatureID(7795)
|
|
|
|
|
mod:SetEncounterID(593)
|
|
|
|
|
|
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
|
|
|
|
|
|
mod:RegisterEventsInCombat(
|
|
|
|
|
"SPELL_CAST_START 12491"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
local specWarnHealingWave = mod:NewSpecialWarningInterrupt(12491, "HasInterrupt", nil, nil, 1, 2)
|
|
|
|
|
|
|
|
|
|
local timerHealingWaveCD = mod:NewAITimer(180, 12491, nil, nil, nil, 4, nil, DBM_COMMON_L.INTERRUPT_ICON)
|
|
|
|
|
|
|
|
|
|
function mod:OnCombatStart(delay)
|
|
|
|
|
timerHealingWaveCD:Start(1-delay)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function mod:SPELL_CAST_START(args)
|
|
|
|
|
if args:IsSpell(12491) and args:IsSrcTypeHostile() then
|
|
|
|
|
timerHealingWaveCD:Start()
|
|
|
|
|
if self:CheckInterruptFilter(args.sourceGUID, false, true) then
|
|
|
|
|
specWarnHealingWave:Show(args.sourceName)
|
|
|
|
|
specWarnHealingWave:Play("kickcast")
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|