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.
27 lines
620 B
27 lines
620 B
local mod = DBM:NewMod(546, "DBM-Party-BC", 10, 253)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20190417010024")
|
|
|
|
mod:SetCreatureID(18732)
|
|
mod:SetEncounterID(1911)
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_SUCCESS 33563"
|
|
)
|
|
|
|
local warnTeleport = mod:NewSpellAnnounce(33563)
|
|
|
|
local timerTeleport = mod:NewNextTimer(37, 33563, nil, nil, nil, 6)
|
|
|
|
function mod:OnCombatStart(delay)
|
|
timerTeleport:Start(40-delay)
|
|
end
|
|
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
|
if args.spellId == 33563 then
|
|
warnTeleport:Show()
|
|
timerTeleport:Start()
|
|
end
|
|
end
|