do_assist oddity

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 03/30/98


I assumed that, when assisting someone, you would attack the person that the
helpee was fighting.  NOPE!  you attack the 1st person in the room list that is
attacking the helpee.  hmm....

to get it to work the approaite way add this right before the for() loop that
finds the target:

if(FIGHTING(helpee))
   opponent=FIGHTING(helpee)
else
   for(opponent=world[....) ;

--Angus


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