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
616 B
27 lines
616 B
local mod = DBM:NewMod("GhamooRa", "DBM-Party-Vanilla", 1)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20231130010732")
|
|
mod:SetCreatureID(4887)
|
|
mod:SetEncounterID(2761)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_SUCCESS 5568"
|
|
)
|
|
|
|
local warningTrample = mod:NewSpellAnnounce(5568, 2)
|
|
|
|
local timerTrampleCD = mod:NewAITimer(180, 5568, nil, nil, nil, 3)
|
|
|
|
function mod:OnCombatStart(delay)
|
|
timerTrampleCD:Start(1-delay)
|
|
end
|
|
|
|
function mod:SPELL_CAST_SUCCESS(args)
|
|
if args:IsSpell(5568) then
|
|
warningTrample:Show()
|
|
timerTrampleCD:Start()
|
|
end
|
|
end
|
|
|