17,101
edits
(Update for v1.1) |
(getSpellsUsingItem: Correct typo) |
||
Line 427: | Line 427: | ||
-- Find applicable spells | -- Find applicable spells | ||
for i, spellBook in ipairs(p. | for i, spellBook in ipairs(p.spellBooks) do | ||
local spells = p.getSpellsBySpellBook(spellBook.id) | local spells = p.getSpellsBySpellBook(spellBook.id) | ||
local foundSpell = false | local foundSpell = false |