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.

118 lines
2.8 KiB

local mod = DBM:NewMod("z2685", "DBM-Delves-WarWithin")
local L = mod:GetLocalizedStrings()
mod:SetRevision("20240622200108")
mod:RegisterCombat("scenario", 2685)
mod:RegisterEventsInCombat(
-- "SPELL_CAST_START ",
-- "SPELL_CAST_SUCCESS",
-- "SPELL_AURA_APPLIED",
-- "SPELL_AURA_REMOVED",
-- "SPELL_PERIODIC_DAMAGE",
-- "UNIT_DIED",
"ENCOUNTER_START",
"ENCOUNTER_END"
)
--This zone has 4 encounterIDs flagged to it, i'm gonna guess the 3 zones missing one, are mis zone flagged.
--local warnDrones = mod:NewSpellAnnounce(449072, 2)
--local specWarnFearfulShriek = mod:NewSpecialWarningDodge(433410, nil, nil, nil, 2, 2)
--local timerShadowsofStrifeCD = mod:NewCDNPTimer(12.4, 449318, nil, nil, nil, 4, nil, DBM_COMMON_L.INTERRUPT_ICON)
--local timerBurrowingTremorsCD = mod:NewCDTimer(31.5, 448644, nil, nil, nil, 5)
--Antispam IDs for this mod: 1 run away, 2 dodge, 3 dispel, 4 incoming damage, 5 you/role, 6 misc, 7 off interrupt
--[[
function mod:SPELL_CAST_START(args)
if args.spellId == 449318 then
end
end
--]]
--[[
function mod:SPELL_CAST_SUCCESS(args)
if args.spellId == 138680 then
end
end
--]]
--[[
function mod:SPELL_AURA_APPLIED(args)
if args.spellId == 1098 then
end
end
--]]
--[[
function mod:SPELL_AURA_REMOVED(args)
if args.spellId == 1098 then
end
end
--]]
--[[
function mod:SPELL_PERIODIC_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId)
if spellId == 138561 and destGUID == UnitGUID("player") and self:AntiSpam() then
end
end
--]]
--[[
function mod:UNIT_DIED(args)
--if args.destGUID == UnitGUID("player") then--Solo scenario, a player death is a wipe
--end
local cid = self:GetCIDFromGUID(args.destGUID)
if cid == 208242 then
end
end
--]]
function mod:ENCOUNTER_START(eID)
if eID == 2946 then--Nerl'athekk the Skulking
DBM:AddMsg("Boss alerts/timers not yet implemented for Nerl'athekk the Skulking")
elseif eID == 2947 then--Speaker Xanventh
DBM:AddMsg("Boss alerts/timers not yet implemented for Speaker Xanventh")
elseif eID == 2948 then--Cave Giant Boss
DBM:AddMsg("Boss alerts/timers not yet implemented for Cave Giant Boss")
elseif eID == 2949 then--Faceless One
DBM:AddMsg("Boss alerts/timers not yet implemented for Faceless One")
end
end
function mod:ENCOUNTER_END(eID, _, _, _, success)
if eID == 2946 then--Nerl'athekk the Skulking
if success then
DBM:EndCombat(self)
else
--Stop Timers manually
end
elseif eID == 2947 then--Speaker Xanventh
if success then
DBM:EndCombat(self)
else
--Stop Timers manually
end
elseif eID == 2948 then--Cave Giant Boss
if success then
DBM:EndCombat(self)
else
--Stop Timers manually
end
elseif eID == 2949 then--Faceless One
if success then
DBM:EndCombat(self)
else
--Stop Timers manually
end
end
end