Fix aff_index references affecting NPC casting

Fixes issue #284 with true see (and probably a few other abilities).