Re: [Newbie] pkill limit

From: Douglas Mallory (dmallory@IXLMEMPHIS.COM)
Date: 07/16/98


At 11:40 PM 7/16/98 , you wrote:
>
>i tried in set_fighting but it still had the iniatal hit so it was doing
>damage just not starting fights.......... so i added it to void damage,
>when i attack a mob not within 5 levels he
>wont hit back and i cant damage it.....this bums me becuase now aggro mobs
>wont attack and i cant kill anything NPC or not within 5 levels.  Then when
>i pardon the killer he hits again but the mob doesnt.........if you have
>any ideas or need more info because i have been at this for hours and I'm
>probably babling......please reply
>Thanks
>Scorn

Mob attacks run through the check as well as player attacks.  And when a
mob attacks a player,
(!IS_NPC(victim)) is true, so the mob must pass the level check to attack
the player.  The most direct change would be (!IS_NPC(victim) || IS_NPC(ch)).


Douglas


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