Re: Damage messages

From: Crimson Wizard (cwizard@GIBLETS.COM)
Date: 08/16/97


On Sat, 16 Aug 1997, Jeremy Elson wrote:

> So, I found myself with more free time than usual and decided to try
> to finally crank out the next couple of patchlevels of Circle (it's
> been more than a year...).
>
> I'm going to try to put up a list of known bugs on the web site
> soemwhere with a form for adding new ones as they are found.  Also I'm
> going to be incorporating some of the more popular patches,
> e.g. George's web page full of bug fixes.
>
> One of the tweaks I've always meant to get around to doing but never
> did was change the messages you receive when hitting (e.g., tickle,
> massacre, etc.) so that the message relates to the number of HP taken
> off the victim relative to their total HP, instead of based on the
> absolute number of HP taken off.  Is the general consensus that such a
> scheme is a Good Thing?

Yes thats an excellent thing... come to think of it, I have a curious
question.. I extended the damage messages in my mud alot but it never
seems to display damage over a certain # here is the code

 if (dam == 0)          msgnum = 0;
  else if (dam <= 4)     msgnum = 1;
  else if (dam <= 6)     msgnum = 2;
  else if (dam <= 8)     msgnum = 3;
  else if (dam <= 11)    msgnum = 4;
  else if (dam <= 14)    msgnum = 5;
  else if (dam <= 17)    msgnum = 6;
  else if (dam <= 21)    msgnum = 7;
  else if (dam <= 25)    msgnum = 8;
  else if (dam <= 29)    msgnum = 9;
  else if (dam <= 33)    msgnum = 10;
  else if (dam <= 41)    msgnum = 11;
  else if (dam <= 46)    msgnum = 12;
  else if (dam <= 51)    msgnum = 13;
  else if (dam <= 54)    msgnum = 14;
  else if (dam <= 57)    msgnum = 15;
  else if (dam <= 61)    msgnum = 16;
  else if (dam <= 66)    msgnum = 17;
  else if (dam <= 71)    msgnum = 18;
  else if (dam <= 76)    msgnum = 19;
  else if (dam <= 81)    msgnum = 20;
  else if (dam <= 86)    msgnum = 21;
  else if (dam <= 91)    msgnum = 22;
  else if (dam <= 96)    msgnum = 23;
  else if (dam <= 101)   msgnum = 24;
  else if (dam <= 106)   msgnum = 25;
  else if (dam <= 116)   msgnum = 26;
  else if (dam <= 121)   msgnum = 27;
  else                   msgnum = 28;

it never goes above message 23 or 24.. is there a limit on the # of
messages i can have?

--
#!/bin/sh
whois yea.com|grep YEA2|awk '{print $1}'
whois aree.com|grep DOM|awk '{print $1}'
whois aree.com|grep DOM|awk '{print $1}'|cut -c1
whois tm920|grep TM920|awk '{print $4}'|cut -d@ -f1


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