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.
34 lines
920 B
34 lines
920 B
|
3 years ago
|
local mod = DBM:NewMod(418, "DBM-Party-Vanilla", 4, 231)
|
||
|
|
local L = mod:GetLocalizedStrings()
|
||
|
|
|
||
|
|
mod:SetRevision("20221029204017")
|
||
|
|
mod:SetCreatureID(6229)
|
||
|
|
mod:SetEncounterID(381)
|
||
|
|
|
||
|
|
mod:RegisterCombat("combat")
|
||
|
|
|
||
|
|
mod:RegisterEventsInCombat(
|
||
|
|
"SPELL_CAST_SUCCESS 10887 8374"
|
||
|
|
)
|
||
|
|
|
||
|
|
local specWarnCrowdPummel = mod:NewSpecialWarningSpell(10887, "Melee", nil, nil, 2, 2)
|
||
|
|
|
||
|
|
local timerCrowdPummelCD = mod:NewAITimer(180, 10887, nil, nil, nil, 2)
|
||
|
|
|
||
|
|
local timerArcingSmashD = mod:NewAITimer(180, 8374, nil, "Tank", nil, 5, nil, DBM_COMMON_L.TANK_ICON)
|
||
|
|
|
||
|
|
function mod:OnCombatStart(delay)
|
||
|
|
timerCrowdPummelCD:Start(1-delay)
|
||
|
|
timerArcingSmashD:Start(1-delay)
|
||
|
|
end
|
||
|
|
|
||
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
||
|
|
if args.spellId == 10887 then
|
||
|
|
specWarnCrowdPummel:Show()
|
||
|
|
specWarnCrowdPummel:Play("carefly")
|
||
|
|
timerCrowdPummelCD:Start()
|
||
|
|
elseif args.spellId == 8374 then
|
||
|
|
timerArcingSmashD:Start()
|
||
|
|
end
|
||
|
|
end
|