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.
53 lines
1.6 KiB
53 lines
1.6 KiB
local mod = DBM:NewMod(1883, "DBM-BrokenIsles", 1, 822)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20201111164513")
|
|
mod:SetCreatureID(117239)
|
|
--mod:SetEncounterID(1880)
|
|
mod:SetReCombatTime(20)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_START 233484 233566",
|
|
"SPELL_CAST_SUCCESS 233515"
|
|
)
|
|
|
|
--NOTE, rupture and Embers can target scan but only give 1 of multiple targets, so for time being it's being omitted
|
|
local specWarnMeteorSlash = mod:NewSpecialWarningSpell(233484, nil, nil, nil, 2, 2)
|
|
local specWarnCrashingEmbers = mod:NewSpecialWarningDodge(233515, nil, nil, nil, 2, 2)
|
|
local specWarnRupture = mod:NewSpecialWarningDodge(233566, nil, nil, nil, 2, 2)
|
|
|
|
local timerMeteorSlashCD = mod:NewCDTimer(18.3, 233484, nil, nil, nil, 5)--18.3-19.6 (might also be 17.2)
|
|
local timerCrashingEmbersCD = mod:NewCDTimer(17.2, 233515, nil, nil, nil, 3)--17.2-19.6
|
|
local timerRuptureCD = mod:NewCDTimer(18.3, 233566, nil, nil, nil, 3)--18.3-19.6 (might also be 17.2)
|
|
|
|
--mod:AddReadyCheckOption(37460, false)
|
|
|
|
function mod:OnCombatStart(delay, yellTriggered)
|
|
if yellTriggered then
|
|
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_CAST_START(args)
|
|
local spellId = args.spellId
|
|
if spellId == 233484 then
|
|
specWarnMeteorSlash:Show()
|
|
specWarnMeteorSlash:Play("gathershare")
|
|
timerMeteorSlashCD:Start()
|
|
elseif spellId == 233566 then
|
|
specWarnRupture:Show()
|
|
specWarnRupture:Play("watchstep")
|
|
timerRuptureCD:Start()
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
|
local spellId = args.spellId
|
|
if spellId == 233515 then
|
|
specWarnCrashingEmbers:Show()
|
|
specWarnCrashingEmbers:Play("watchstep")
|
|
timerCrashingEmbersCD:Start()
|
|
end
|
|
end
|
|
|