From 0c228a7469ea4260c0a182f99b3f2313ca57daa5 Mon Sep 17 00:00:00 2001 From: pepopo978 Date: Mon, 29 Sep 2025 15:34:57 -0700 Subject: [PATCH] fix faerie fire (feral) multicurse --- commands.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/commands.lua b/commands.lua index 52cf888..edd2151 100644 --- a/commands.lua +++ b/commands.lua @@ -382,8 +382,13 @@ local function pickTarget(selectedPriority, lowercaseSpellNameNoRank, checkRange if passedOptionFilters(guid, options) then local passedRangeCheck = false if IsSpellInRange then - -- use IsSpellInRange from nampower if available - local result = IsSpellInRange(lowercaseSpellNameNoRank, guid) + local result + if Cursive.curses.isDruid and string.find(lowercaseSpellNameNoRank, "faerie fire %(feral%)") then + -- IsSpellInRange doesn't work with Faerie Fire (Feral), use spellid instead + result = IsSpellInRange(17392, guid) + else + result = IsSpellInRange(lowercaseSpellNameNoRank, guid) + end if result == -1 then passedRangeCheck = checkRange == false or CheckInteractDistance(guid, 4) -- fallback to old range check else