Fixed duplicate local var for announcing fixate (#8)

This commit is contained in:
Kevin Vongmany
2025-12-25 10:34:36 +11:00
committed by GitHub
parent 6cbb1282a2
commit 35a149cfcd
+2 -2
View File
@@ -35,7 +35,7 @@ local warnStun = mod:NewSpellAnnounce(6524)
local timerStun = mod:NewNextTimer(12, 6524) local timerStun = mod:NewNextTimer(12, 6524)
-- local warnTarget = mod:NewSpellAnnounce(6524) -- local warnTarget = mod:NewSpellAnnounce(6524)
--Gri'lek sets his sights on Red! --Gri'lek sets his sights on Red!
local warnStun = mod:NewSpecialWarningYou(40414) local warnFixate = mod:NewSpecialWarningYou(40414)
local timerFixate = mod:NewTargetTimer(20, 40414) local timerFixate = mod:NewTargetTimer(20, 40414)
local spamSleep = 0 local spamSleep = 0
@@ -61,7 +61,7 @@ function mod:CHAT_MSG_RAID_BOSS_EMOTE(msg, src)
local targetName = msg:match("Gri\'lek sets his sights on (.+)!"); local targetName = msg:match("Gri\'lek sets his sights on (.+)!");
if targetName then if targetName then
if target == UnitName("player") then if target == UnitName("player") then
warnStun:Show() warnFixate:Show()
end end
timerFixate:Start(targetName) timerFixate:Start(targetName)
end end