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.
28 lines
618 B
28 lines
618 B
|
2 years ago
|
local mod = DBM:NewMod("GhamooRa", "DBM-Party-Vanilla", 1)
|
||
|
|
local L = mod:GetLocalizedStrings()
|
||
|
|
|
||
|
|
mod:SetRevision("20231012014002")
|
||
|
|
mod:SetCreatureID(4887)
|
||
|
|
--mod:SetEncounterID(1667)
|
||
|
|
|
||
|
|
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
|