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.
96 lines
2.0 KiB
96 lines
2.0 KiB
|
2 years ago
|
local mod = DBM:NewMod(2594, "DBM-Party-WarWithin", 8, 1274)
|
||
|
|
local L = mod:GetLocalizedStrings()
|
||
|
|
|
||
|
|
mod:SetRevision("20240417180519")
|
||
|
|
--mod:SetCreatureID(189232)
|
||
|
|
mod:SetEncounterID(2907)
|
||
|
|
--mod:SetHotfixNoticeRev(20220322000000)
|
||
|
|
--mod:SetMinSyncRevision(20211203000000)
|
||
|
|
--mod.respawnTime = 29
|
||
|
|
mod.sendMainBossGUID = true
|
||
|
|
|
||
|
|
mod:RegisterCombat("combat")
|
||
|
|
|
||
|
|
mod:RegisterEventsInCombat(
|
||
|
|
-- "SPELL_CAST_START",
|
||
|
|
-- "SPELL_CAST_SUCCESS",
|
||
|
|
-- "SPELL_AURA_APPLIED",
|
||
|
|
-- "SPELL_AURA_REMOVED"
|
||
|
|
-- "SPELL_PERIODIC_DAMAGE",
|
||
|
|
-- "SPELL_PERIODIC_MISSED"
|
||
|
|
-- "UNIT_SPELLCAST_SUCCEEDED boss1"
|
||
|
|
)
|
||
|
|
|
||
|
|
--local warnSomeAbility = mod:NewSpellAnnounce(373087, 3)
|
||
|
|
|
||
|
|
--local specWarnSomeAbility = mod:NewSpecialWarningDefensive(372858, nil, nil, nil, 1, 2)
|
||
|
|
--local yellSomeAbility = mod:NewYell(372107)
|
||
|
|
--local specWarnGTFO = mod:NewSpecialWarningGTFO(372820, nil, nil, nil, 1, 8)
|
||
|
|
|
||
|
|
--local timerSomeAbilityCD = mod:NewAITimer(33.9, 372863, nil, nil, nil, 3)
|
||
|
|
|
||
|
|
--local castsPerGUID = {}
|
||
|
|
|
||
|
|
|
||
|
|
--function mod:OnCombatStart(delay)
|
||
|
|
|
||
|
|
--end
|
||
|
|
|
||
|
|
--function mod:OnCombatEnd()
|
||
|
|
|
||
|
|
--end
|
||
|
|
|
||
|
|
--[[
|
||
|
|
function mod:SPELL_CAST_START(args)
|
||
|
|
local spellId = args.spellId
|
||
|
|
if spellId == 372107 then
|
||
|
|
end
|
||
|
|
end
|
||
|
|
--]]
|
||
|
|
|
||
|
|
--[[
|
||
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
||
|
|
local spellId = args.spellId
|
||
|
|
if spellId == 372858 then
|
||
|
|
|
||
|
|
end
|
||
|
|
end
|
||
|
|
--]]
|
||
|
|
|
||
|
|
--[[
|
||
|
|
function mod:SPELL_AURA_APPLIED(args)
|
||
|
|
local spellId = args.spellId
|
||
|
|
if spellId == 372858 then
|
||
|
|
|
||
|
|
end
|
||
|
|
end
|
||
|
|
--mod.SPELL_AURA_APPLIED_DOSE = mod.SPELL_AURA_APPLIED
|
||
|
|
--]]
|
||
|
|
|
||
|
|
--[[
|
||
|
|
function mod:SPELL_PERIODIC_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId, spellName)
|
||
|
|
if spellId == 372820 and destGUID == UnitGUID("player") and self:AntiSpam(3, 2) then
|
||
|
|
specWarnGTFO:Show(spellName)
|
||
|
|
specWarnGTFO:Play("watchfeet")
|
||
|
|
end
|
||
|
|
end
|
||
|
|
mod.SPELL_PERIODIC_MISSED = mod.SPELL_PERIODIC_DAMAGE
|
||
|
|
--]]
|
||
|
|
|
||
|
|
--[[
|
||
|
|
function mod:UNIT_DIED(args)
|
||
|
|
local cid = self:GetCIDFromGUID(args.destGUID)
|
||
|
|
if cid == 193435 then
|
||
|
|
|
||
|
|
end
|
||
|
|
end
|
||
|
|
--]]
|
||
|
|
|
||
|
|
--[[
|
||
|
|
function mod:UNIT_SPELLCAST_SUCCEEDED(uId, _, spellId)
|
||
|
|
if spellId == 74859 then
|
||
|
|
|
||
|
|
end
|
||
|
|
end
|
||
|
|
--]]
|