Re: POS_FIGHTING bug

From: George (greerga@CIRCLEMUD.ORG)
Date: 04/26/98


On Sun, 26 Apr 1998, Daniel Koepke wrote:

>Jon Barrett wrote:
>>   I have played with it for a while and the only time I could get to
>> POS_STANDING while fighting was after standing from a bash, so I decide to
>> put it in do_stand.
>
>It seems like perform_violence() might be better, so you solve any
>positioning bugs you might add in the future with one centeral piece
>of code.  Although, I suppose that "stand;sleep" would manage to
>circumvent that...hm...anyone else have suggestions?

I'd say put the check in hit().  That way you know that if they're trying
to hit someone, they're probably fighting.  hit() it called from more
places than perform_violence() also.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


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