Re: Kill counter

From: Chuck Reed (master@I-55.COM)
Date: 08/29/98


>    if( (!IS_NPC(victim) ) && (!IS_NPC(ch))){
>                GET_KILL_COUNT(ch) += 1;
>        }
>        die(victim);
>    return 0;                   /* -je, 7/7/92 */

You are increasing the kill counter on the person that kills something.
Don't know if that's what you want or not.  But if you want to increase the
number on the person that gets killed, it should be

GET_KILL_COUNT(victim)++;

instead of

GET_KILL_COUNT(ch) += 1;


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