Remove spell id check for first hit

This commit is contained in:
Flamanis
2023-08-28 20:22:54 -05:00
parent 5cef044c5c
commit 72b52c069f
+1 -6
View File
@@ -860,12 +860,7 @@
end
if (Details.encounter_table.id and Details.encounter_table["start"] >= GetTime() - 3 and Details.announce_firsthit.enabled) then
local link
if (spellId <= 10) then
link = _GetSpellInfo(spellId)
else
link = _GetSpellInfo(spellId)
end
local link = _GetSpellInfo(spellId) --Removed check for the id being <= 10, both branches were the same.
if (Details.WhoAggroTimer) then
Details.WhoAggroTimer:Cancel()