Re: Multiple Attacks

From: Paul Siegel (pmsie@CONNCOLL.EDU)
Date: 03/20/98


I tried Rasdan's approach:

> >         for (i=0; i<GET_ATTACKS(ch); i++) {
> -> NOTICE THE CHANGE
>             if (FIGHTING(ch) && GET_POS(FIGHTING(ch)) > POS_DEAD)
> >               hit(ch, FIGHTING(ch), TYPE_UNDEFINED);
> >            else
> >               send_to_char("The damn thing's dead already!\r\n", ch);
> >         }
>
> You need to have checks to see if the character is still fighting or not.
>

And it all works fine now.  Thanks a lot guys!

Paul


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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