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.
34 lines
777 B
34 lines
777 B
local mod = DBM:NewMod("Hamhock", "DBM-Party-Vanilla", 15)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20231012014002")
|
|
mod:SetCreatureID(1717)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_AURA_APPLIED 6742"
|
|
)
|
|
|
|
--TODO, add timer for chain lightning if it's not spam cast
|
|
local warningBloodlust = mod:NewTargetNoFilterAnnounce(6742, 2)
|
|
|
|
mod:AddRangeFrameOption("10")
|
|
|
|
function mod:OnCombatStart(delay)
|
|
if self.Options.RangeFrame then
|
|
DBM.RangeCheck:Show(10)
|
|
end
|
|
end
|
|
|
|
function mod:OnCombatEnd()
|
|
if self.Options.RangeFrame then
|
|
DBM.RangeCheck:Hide()
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args:IsSpell(6742) and args:IsDestTypeHostile() then
|
|
warningBloodlust:Show(args.destName)
|
|
end
|
|
end
|
|
|