diff --git a/Core.lua b/Core.lua index 1ab7b10..4802fa6 100644 --- a/Core.lua +++ b/Core.lua @@ -690,7 +690,7 @@ function CleveRoids.GetSpellCost(spellSlot, bookType) if not reagent then local name = GetSpellName(spellSlot, bookType) if name then - name = string.gsub(name, "%s*%(.-%)%s*$", "") -- strip "(Rank X)" + name = string.gsub(name, "%s*%(%s*Rank%s+%d+%s*%)%s*$", "") -- strip "(Rank X)" only reagent = _ReagentBySpell[name] end end @@ -1694,7 +1694,7 @@ function CleveRoids.ParseMsg(msg) -- store the raw action for callers and strip trailing "(Rank X)" for comparisons conditionals.action = action - action = string.gsub(action, "%s*%(.-%)%s*$", "") + action = string.gsub(action, "%s*%(%s*Rank%s+%d+%s*%)%s*$", "") -- IMPORTANT: if there's NO conditional block, return nil conditionals so -- DoWithConditionals will hit the {macroName} execution branch. diff --git a/README.md b/README.md index 446f66d..2fc6718 100644 --- a/README.md +++ b/README.md @@ -301,7 +301,6 @@ Automatically adjusts tracked durations for talents (Imp. Gouge, Taste for Blood ## Known Issues - Unique macro names required (no blanks, duplicates, or spell names) -- Spells with parentheses must include rank: `Faerie Fire (Feral)(Rank 4)` - Reactive abilities must be on action bars for detection - HealComm requires MarcelineVQ's [LunaUnitFrames](https://github.com/MarcelineVQ/LunaUnitFrames) for SuperWoW compatibility