diff --git a/Core.lua b/Core.lua index b023e7a..aeb14cd 100644 --- a/Core.lua +++ b/Core.lua @@ -95,7 +95,7 @@ function CleveRoids.GetSpellCost(spellSlot, bookType) end if not cost and rt ~= "" then - local n = string.match(rt, "^(%d+)%s+(Mana|Energy|Rage|Focus)") + local n = string.find(rt, "^(%d+)%s+(Mana|Energy|Rage|Focus)") if n then cost = tonumber(n) end end