Re: [Newbie] pkill limit

From: Scorn (scorn@RMI.NET)
Date: 07/20/98


ok i have the final release of my pkill limiter if anyone wants it Thanks
to some help from others i got it working you know who you are and thanks
again for your help:
in fight.c  void damage ()
<snip>
int lvl = 0;
lvl = (GET_LEVEL(ch) - GET_LEVEL(victim));

 if ((lvl > 5 || lvl < -5) && (!IS_NPC(victim) && !IS_NPC(ch))
  && GET_LEVEL(ch) < LVL_IMPL){
  send_to_char("Try killing someone closer to your level.\r\n", ch);
  return;

}
<end>
Scorn


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