Keep the internal spell array index inside spell.c, and refer to spells outside of it with the otyp id.