Return the prey of the specified @hunter. If the @hunter is hunting another mobile then the return value will be a pointer to the prey. Alternatively if the mobile is hunting via a call to "walktoroom" then the ID of the room will be returned. If the @hunter is not hunting anything then null will be returned.
Example:
if( if( %getHuntPrey( @n ) == @self ) { talk @n I hear you've been looking for me. Now that you've \ found me, prepare to die!
cast soul strike @n } endif |