fix multi use for some conditionals

This commit is contained in:
Jrc13245
2025-12-16 15:03:29 -05:00
parent 17c9495350
commit ed67c38b0f
3 changed files with 25 additions and 18 deletions
+4
View File
@@ -57,6 +57,10 @@ function CleveRoids.IndexSpells()
spells[bookType] = {}
else
local cost, reagent = CleveRoids.GetSpellCost(i, bookType)
-- Fallback for known reagent spells if tooltip scan failed
if not reagent and CleveRoids.ReagentBySpell then
reagent = CleveRoids.ReagentBySpell[spellName]
end
local texture = GetSpellTexture(i, bookType)
if not spells[bookType][spellName] then
spells[bookType][spellName] = {