mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
fix
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user