This adds a check that the target is alive or the spell is meant for a dead target when targeting a mob with a spell. Normally this isn't a problem because mobs are untargetable when they die, but Prishe lets you raise her when she dies in this BCNM, so you can crash the client by casting cure or protect on her if she dies. This also adds a check so that tractor can only be cast on a player, fixing a server crash in the same situation.
This adds a check that the target is alive or the spell is meant for a dead target when targeting a mob with a spell. Normally this isn't a problem because mobs are untargetable when they die, but Prishe lets you raise her when she dies in this BCNM, so you can crash the client by casting cure or protect on her if she dies. This also adds a check so that tractor can only be cast on a player, fixing a server crash in the same situation.