Re: [Circle] Help_please?

From: Clifford G. Robinson (amgine@mnsinc.com)
Date: 07/28/96


On Sun, 28 Jul 1996, malcor wrote:

> i can't seem to figure out what is wrong with this check any suggestions?
> 
>     }
> 
>   if (GET_POS(ch) = POS_FIGHTING) && (percent < GET_SKILL(ch, SKILL_SECOND))

the if statement itself must be enclosed in parens i think, i.e.

    if ( (GET_POS(ch) = POS_FIGHTING) && (percent < GET_SKILL(ch, \ 
       SKILL_SECOND)) ) >
    
>      hit(ch, FIGHTING(ch), TYPE_UNDEFINED);
> 
> IT SAYS NEED ) AND ERROR BEFORE HIT BUT WHERE?????
> 
+-----------------------------------------------------------+
| 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/07/00 PST