From 72b52c069f4a1fc896709cafaac35910754cccfb Mon Sep 17 00:00:00 2001 From: Flamanis Date: Mon, 28 Aug 2023 20:22:54 -0500 Subject: [PATCH] Remove spell id check for first hit --- core/parser.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/parser.lua b/core/parser.lua index 547f12f7..0f08fd86 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -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()