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

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 09/29/97


On Mon, 29 Sep 1997, Cris Jacobin wrote:

-+   sprintf(brag, "$n brags, 'I think %s wears pink chainmail.  Fights like
-+a girl!  Muhaha!'", GET_NAME(vict));

Hm, a very historically accurate medieval taunt.  Now, here's the
problem I see.  It wasn't checked if the mobile could see the victim,
so it's, "Jupiter brags, 'I think Nether wears pink chainmail....'"
even if he doesn't know that I'm Nether...

-+     if (COLOR_LEV(i->character) >= C_NRM);

Also, this semi-colon probably shouldn't be here.  We don't want
everyone getting the color code to turn things red...

-+        send_to_char(CCRED(vict, C_NRM), i->character);


--
Daniel Koepke -:- dkoepke@california.com -:-  [Shadowlord/Nether]
Think.


     +------------------------------------------------------------+
     | 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/08/00 PST