Re: [CODE] [!HYMEN] Npc 'brag' function

From: Cris Jacobin (jacobin@NETREACH.NET)
Date: 09/29/97

        *oops*.  Notice a small bug, if you have pkilling turned on it'll
brag for pc-pc kills.  Add the following IS_NPC check as illustrated to

-jac 'emote needs builders, badly...'
ButterMud - telnet://

I inserted a call to the function in the following place in fight.c.

 if (!IS_NPC(victim)) {
      sprintf(buf2, "%s killed by %s at %s", GET_NAME(victim), GET_NAME(ch),
      mudlog(buf2, BRF, LVL_IMMORT, TRUE);
+  if (IS_NPC(ch))   /* Brag Function Call - Muerte 9/29/97 */
+     brag(ch, victim);
      if (MOB_FLAGGED(ch, MOB_MEMORY))
        forget(ch, victim);

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/08/00 PST