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.
32 lines
840 B
32 lines
840 B
local mod = DBM:NewMod(402, "DBM-Party-Vanilla", DBM:IsPostCata() and 3 or 6, 230)
|
|
local L = mod:GetLocalizedStrings()
|
|
|
|
mod:SetRevision("20240316010232")
|
|
mod:SetCreatureID(11490)
|
|
--mod:SetEncounterID(1443)
|
|
mod:SetMinSyncRevision(20190917000000)--2019, 9, 17
|
|
|
|
mod:RegisterCombat("combat")
|
|
mod:DisableFriendlyDetection()
|
|
|
|
mod:RegisterEventsInCombat(
|
|
"SPELL_CAST_START 22651"
|
|
)
|
|
|
|
local warnSacrifice = mod:NewTargetNoFilterAnnounce(22651, 4)
|
|
|
|
local yellSacrifice = mod:NewYell(22651)
|
|
|
|
function mod:SacTarget(targetname, uId)
|
|
if not targetname then return end
|
|
warnSacrifice:Show(targetname)
|
|
if targetname == UnitName("player") then
|
|
yellSacrifice:Yell()
|
|
end
|
|
end
|
|
|
|
function mod:SPELL_CAST_START(args)
|
|
if args:IsSpell(22651) then
|
|
self:BossTargetScanner(args.sourceGUID, "SacTarget", 0.1, 8)
|
|
end
|
|
end
|
|
|