Finds out what spells the target knows.