Re: [CODE] - need a little help

From: Jeramy Singleton (XsCaPe4Me@aol.com)
Date: 04/02/99


In a message dated 4/2/99 4:07:44 PM Central Standard Time, tomd@waymark.net
writes:

<<
 if(GET_GUARDIAN(vict)) {
           if(GET_GUARDIAN(vict)->in_room == vict->in_room) {
                   set_fighting(ch, GET_GUARDIAN(vict));
           } else {
                   sprintf(buf, "%s is being attacked!\r\n", GET_NAME(vict));
                   send_to_char(buf, GET_GUARDIAN(vict));
           }
   } >>

I believe that right here you have it attacking the person your gaurding.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST