Add code that handles projected spells and effects.

Signed-off-by: nppangband <nppangbanddev@verizon.net>