Re: [Circle] Problems with kick

From: Eric Jones (fpicard@taeback.kornet.nm.kr)
Date: 11/22/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) {
>     send_to_char("You'd better leave all the martial arts to
> fighters.\r\n", ch)
> ;
>     return;
>   }
> 
> Which should let people in the class BARD perform the skill. But it's
> still returning that message. Any clue what I missed?
> 
> 				-Mike
> 

Change the || to a && and it should work just fine

o--------------------------------o
|  Eric Jones                    |
|  fpicard@taeback.kornet.nm.kr  |
|  jonese@cs51.osan.af.mil       |
o--------------------------------o


+-----------------------------------------------------------+
| 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