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.
25 lines
674 B
25 lines
674 B
local mod = DBM:NewMod(622, "DBM-Party-WotLK", 9, 282)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20220221000356")
|
|
mod:SetCreatureID(27654)
|
|
mod:SetEncounterID(2016)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"UNIT_DIED"
|
|
)
|
|
|
|
mod:AddBoolOption("MakeitCountTimer", true, "timer", nil, nil, nil, "at1868")
|
|
|
|
function mod:UNIT_DIED(args)
|
|
if not self:IsDifficulty("normal5") then
|
|
if self.Options.MakeitCountTimer and not DBT:GetBar(L.MakeitCountTimer) then
|
|
local cid = self:GetCIDFromGUID(args.destGUID)
|
|
if cid == 27654 then -- Drakos The Interrogator
|
|
DBT:CreateBar(1200, L.MakeitCountTimer)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|