code

From: James Rackley (rasputin@woodtech.com)
Date: 09/09/96


ok for all you ppl out there looking for a fix to the multihit code off 
of fletchers WWW site or where ever you got it.

add this right b4 each hit(blah blah); in the new code to be added

    if (GET_POS(ch) == POS_FIGHTING)

that like there b4 something like this will stop the crashing aswell fix 
the multi attacks to work perfectly fine.

    if (GET_POS(ch) == POS_FIGHTING)
           hit(ch, ch->specials.fighting, TYPE_UNDEFINED);

also all the ch->specials.fighting need to be changed to  FIGHTING(ch) 
instead.

so for every line in the multihit.html file or whatever it is put it like 
this

    if (GET_POS(ch) == POS_FIGHTING)
           hit(ch, FIGHTING(ch), TYPE_UNDEFINED);

+-----------------------------------------------------------+
| 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/18/00 PST