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.
25 lines
512 B
25 lines
512 B
local mod = DBM:NewMod("Rabbit", "DBM-DMF")
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20200803045206")
|
|
mod:SetCreatureID(58336)
|
|
mod:SetModelID(328)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_AURA_APPLIED 114078"
|
|
)
|
|
|
|
local warnTeeth = mod:NewTargetAnnounce(114078, 4)
|
|
|
|
local yellTeeth = mod:NewYell(114078)
|
|
|
|
function mod:SPELL_AURA_APPLIED(args)
|
|
if args.spellId == 114078 then
|
|
warnTeeth:Show(args.destName)
|
|
if args:IsPlayer() then
|
|
yellTeeth:Yell()
|
|
end
|
|
end
|
|
end
|
|
|