Check Pet spell book too for GetSpellBookIndex
BUGFIX: spell.range, sanity checks + pet spellbook