Re: [Newbie] pkill limit 20, 98 11:16:01 pm"

From: AxL (axl@MINDWARP.PLYMOUTH.EDU)
Date: 07/21/98


> 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;
>
> }

        You'll also want to check certain spells/skills that do not call
damage(), but can be used in a pkill sort of way, like 'blindness'.
--
-AxL, axl@wpcr.plymouth.edu - Ass't GM, Sysop, RPM Director, WPCR, 91.7 FM
 "Discriminate against the next fashion sucker you meet....it's a raver!"
                                      - Ec8or,  Digital Hardcore Records


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