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.
i figure it'd be something like this:
as you see, i don't know what would go after victim. any thoughts?
THanks,
Ithildin
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