Re: fights 98 02:00:52 pm"

From: Christian Loth (sg618lo@UNIDUI.UNI-DUISBURG.DE)
Date: 10/28/98


Greetings,

Read the Source, Luke!

Shane Augustine wrote:
> Hi
>     Ok when I attack mobs, then damage registers, however if I attack a
> player
> *who i seem to miss ALL the time* and then after that if I try to attack
> a mob,
> I can never hit them.  I am forced to recreated my character.  As far as
> fighting
> is concerned, I've only added multiple attacks to the mud and I don't
> understand
> why this is happening.  Any help would be appreciated.. thanks
>

From fight.c:
in int damage(...):
  if (!pk_allowed) {
    check_killer(ch, victim);
    if (PLR_FLAGGED(ch, PLR_KILLER) && (ch != victim))
      dam = 0;
  }

Instead of re-creating try the nifty 'pardon'-command or set your
MUD to pk_allowed.

- Chris

--
/----------------------------------------------------------------------------\
| Christian Loth, chris@rom.mud.de    |           REALM OF MAGIC             |
| http://rom.mud.de/~chris            | telnet rom.mud.de 4000               |
|                                     | http://rom.mud.de/                   |
\----------------------------------------------------------------------------/


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