local mod = DBM:NewMod(2517, "DBM-DragonIsles", nil, 1205) local L = mod:GetLocalizedStrings() mod:SetRevision("20220903200938") mod:SetCreatureID(193532) mod:SetEncounterID(2653) mod:SetReCombatTime(20) mod:EnableWBEngageSync()--Enable syncing engage in outdoors --mod:SetMinSyncRevision(11969) mod:RegisterCombat("combat") --mod:RegisterCombat("combat_yell", L.Pull) mod:RegisterEventsInCombat( -- "SPELL_CAST_START", -- "SPELL_CAST_SUCCESS", -- "SPELL_AURA_APPLIED", -- "SPELL_AURA_APPLIED_DOSE", -- "SPELL_AURA_REMOVED", -- "SPELL_PERIODIC_DAMAGE", -- "SPELL_PERIODIC_MISSED" ) --TODO, target scan furious slam? if it works swap the warnings around --TODO, adjust tank swap stacks --local warnFuriousSlam = mod:NewTargetNoFilterAnnounce(361209, 2) --local warnDarkDeterrence = mod:NewStackAnnounce(361390, 2, nil, "Tank|Healer") --local specWarnFuriousSlam = mod:NewSpecialWarningDodge(361209, nil, nil, nil, 2, 2) --local timerFuriousSlamCD = mod:NewAITimer(74.7, 361209, nil, nil, nil, 3) --local timerDeterrentStrikeCD = mod:NewAITimer(9.7, 361387, nil, nil, nil, 5, nil, DBM_COMMON_L.TANK_ICON) --mod:AddRangeFrameOption(5, 361632) function mod:OnCombatStart(delay, yellTriggered) -- if yellTriggered then -- end -- if self.Options.RangeFrame then -- DBM.RangeCheck:Hide() -- end end --function mod:OnCombatEnd() -- if self.Options.InfoFrame then -- DBM.InfoFrame:Hide() -- end --end --[[ function mod:SPELL_CAST_START(args) local spellId = args.spellId if spellId == 338858 then end end function mod:SPELL_CAST_SUCCESS(args) local spellId = args.spellId if spellId == 361341 then end end function mod:SPELL_AURA_APPLIED(args) local spellId = args.spellId if spellId == 361632 then end end --mod.SPELL_AURA_APPLIED_DOSE = mod.SPELL_AURA_APPLIED function mod:SPELL_AURA_REMOVED(args) local spellId = args.spellId if spellId == 361632 then end end function mod:SPELL_PERIODIC_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId, spellName) if spellId == 361335 and destGUID == UnitGUID("player") and self:AntiSpam(2, 4) then specWarnGTFO:Show(spellName) specWarnGTFO:Play("watchfeet") end end mod.SPELL_PERIODIC_MISSED = mod.SPELL_PERIODIC_DAMAGE --]]