This commit is contained in:
Andrew6810
2022-10-21 06:50:13 -07:00
parent 8571e98fb1
commit 39c0ed874e
466 changed files with 52263 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
local mod = DBM:NewMod("Gahzranka", "DBM-ZG", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 132 $"):sub(12, -3))
mod:SetCreatureID(15114)
mod:RegisterCombat("combat")
mod:RegisterEvents(
"SPELL_CAST_START"
)
local warnBreath = mod:NewCastAnnounce(16099)
local warnGeyser = mod:NewCastAnnounce(22421)
function mod:OnCombatStart(delay)
end
function mod:SPELL_CAST_START(args)
if args:IsSpellID(16099) and self:IsInCombat() then
warnBreath:Show()
elseif args:IsSpellID(22421) and self:IsInCombat() then
warnGeyser:Show()
end
end