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
765 B
25 lines
765 B
local mod = DBM:NewMod("HellscreamsPhantom", "DBM-Party-Vanilla", 21)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20240714212927")
|
|
mod:SetEncounterID(3031)
|
|
mod:SetCreatureID(227028)
|
|
|
|
mod:RegisterCombat("combat")
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_DAMAGE 460249",
|
|
"SPELL_MISSED 460249"
|
|
)
|
|
|
|
local specWarnGTFO = mod:NewSpecialWarningGTFO(460249, nil, nil, nil, 1, 8)
|
|
|
|
|
|
local playerGuid = UnitGUID("player")
|
|
function mod:SPELL_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId, spellName)
|
|
if spellId == 460249 and destGUID == playerGuid and self:AntiSpam(4, 1) then -- Spam less often than others, you get hit by this a lot
|
|
specWarnGTFO:Show(spellName)
|
|
specWarnGTFO:Play("watchfeet")
|
|
end
|
|
end
|
|
mod.SPELL_MISSED = mod.SPELL_DAMAGE
|
|
|