In "Problem with NPC's" Stainless wrote:
>
>      The problem I'm having is now when I try and attack a mob it says Kill
> stealing is not allowed. I've grepped that and there are like 6 or 7
> instances.

        if ( is_safe( ch, victim ) )
        return;

        if ( IS_NPC(victim)
        &&  victim->fighting != NULL
        &&  !is_same_group(ch,victim->fighting))
        {
                send_to_char("Kill stealing is not permitted.\n\r",ch);
                return;
        }
>  What would cause all those instances to classify all mobs
> victims.

I suspect the mob is properly determined 'victim', the most likely thing is the
is_same_group check is messing up. Make sure your not testing with a char that's
grouped with someone. Check your arena code for how it handles grouping, perhaps
it uses groups to make teams, or something.

 
Sandi                            

                  "I have not yet begun to code!"

[EMAIL PROTECTED]                           blades.inetsolve.com 3333


Reply via email to