Re: [Multi-attack obscure error]

From: Karl Buchner (blaize@oceanfree.net)
Date: 11/06/00


On Mon, 06 November 2000, RJ Bean wrote:

>
> In an attempt to implement multiple attack skills (second attack, third
> attack...sixth attack) I edited perform_violence() near the call to hit()
> and put some nested if statements along the lines of if you got second
> attack, then hit, if third attack, then hit, etc...  I compiled it with no
> errors and it runs fine for like about 3 or 4 rounds of combat.  Then the
> mud goes kablooie, crashes down and stuff.
<snip>
>           Baffled,
>               Naeis

Change to if you've got second attack, and FIGHTING(ch)
when your opponant dies, it calls stop_fighting, so if your opponant is dead, FIGHTING(ch) will be null.

<note to self--Add scathing remarks, and flames here as well as mumbling about the good old days>

Blaize Imperator

>(Shit, my autoquest does not work...it wasn't added to the makefile...oh well, back to the drawing board.)<


Visit http://www.oceanfree.net to get your free e-mail account and use our unique Irish Internet directory


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



This archive was generated by hypermail 2b30 : 04/11/01 PDT