well....first of all, unless you want to MAKE POS_FIGHTING equal to GET_POS(ch), you need a double = sign if (GET_POS(ch) == POS_FIGHTING) secondly, you need to include THE ENITE if statement in "()"...like this if ((GET_POS(ch) == POS_FIGHTING) && (percent < GET_SKILL(ch, SKILL_SECOND))) that should fix it JL 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)) > > hit(ch, FIGHTING(ch), TYPE_UNDEFINED); > > IT SAYS NEED ) AND ERROR BEFORE HIT BUT WHERE????? > > thanks in advance > Malcor > +-----------------------------------------------------------+ > | Ensure that you have read the CircleMUD Mailing List FAQ: | > | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | > +-----------------------------------------------------------+ +-----------------------------------------------------------+ | 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