Module:Magic: Difference between revisions

getSpellsUsingItem: Correct typo
(Update for v1.1)
(getSpellsUsingItem: Correct typo)
Line 427: Line 427:


     -- Find applicable spells
     -- Find applicable spells
     for i, spellBook in ipairs(p.spellBook) do
     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