Re: [Circle] Problems with kick

From: Feaelin Moilar (feaelin@dialnet.net)
Date: 11/20/96


On Wed, 20 Nov 1996, CircleMud Admin wrote:

> Ok, I added a new class and gave the skill kick to the class. I went into
> the act.offensive.c and changed the ACMD(do_kick) to:
> 
> if (GET_CLASS(ch) != CLASS_WARRIOR || GET_CLASS(ch) != CLASS_BARD) {
                                     ^^

Change those pipes(||) to ampersands(&&) :)  

>     send_to_char("You'd better leave all the martial arts to
> fighters.\r\n", ch)
> ;
>     return;
>   }
> 
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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