do_circle

Posted by Ithildin on Sat 20 Mar 2004 10:10 PM — 1 posts, 8,771 views.

USA #0
Ok, when a thief circles, i want them to only be able to circle if they aren't the ones tanking. so say a thief is killing by himself, then he can't circle, because he's the one tanking. but if he's with a group, then the other guy can tank and the thief can circle all he wants. i'm not really sure how to make it so that it looks for if the thief is tanking. here's my code.


if ( ch->fighting )
    { 
	send_to_char( "&wYou can't seem to get behind them.\n\r", ch);
	return;
    }



i figure it'd be something like this:


if ( ch->fighting && !victim->fighting another character)
    { 
	send_to_char( "&wYou can't seem to get behind them.\n\r", ch);
	return;
    }


as you see, i don't know what would go after victim. any thoughts?

THanks,
Ithildin