Re: Question about Multi attack

From: Dan Stagner (Admin) (dans@GOLIATH.MERSINET.CO.UK)
Date: 07/11/97


>         if((GET_SKILL(ch, SKILL_SECOND) > 0)) {
>            if(GET_SKILL(ch, SKILL_SECOND) > number(1,200)-5*GET_LEVEL(ch))
>               if(FIGHTING(ch));
>                  hit(ch,FIGHTING(ch),TYPE_UNDEFINED);
>         }
>
> In the third line (if(FIGHTING(ch));) there be a semi colon.  now i'm not
> to well versed in c, but wouldn't you not want that semicolon to be there?
> Someone write back and tell me how dumb i am :)

Your not dumb. Your right ;).

Dan/sorphin


      +-----------------------------------------------------------+
      | 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/08/00 PST