Re: [CODE] [QUESTION] Max Damage?...

From: George Greer (greerga@circlemud.org)
Date: 05/25/99


On Tue, 25 May 1999, Jason M. R. wrote:

>Not quire sure but maybe you all cal enlighten me.  I
>think that somewhere it says that the maximum damage
>that a player can do to a mob is 100.  Or somthing close
>to that, Can someone lemme know where thatr is so I can
>change it.

moving:~$ fgrep -n MAX mud/circle30bpl15/src/*.c | fgrep 100
mud/circle30bpl15/src/act.comm.c:238:#define MAX_NOTE_LENGTH 1000       /* arbitrary */
mud/circle30bpl15/src/act.informative.c:157:    percent = (100 * GET_HIT(i)) / GET_MAX_HIT(i);
mud/circle30bpl15/src/class.c:1706:#define EXP_MAX  10000000
mud/circle30bpl15/src/class.c:1721:     return EXP_MAX - ((LVL_IMPL - level) * 1000);
mud/circle30bpl15/src/fight.c:112:  return (MAX(-100, armorclass));      /* -100 is lowest */
mud/circle30bpl15/src/fight.c:698:  dam = MAX(MIN(dam, 100), 0);

The right line should be obvious.

--
George Greer            | The OasisOLC Maintenance Effort
greerga@circlemud.org   | http://developer.circlemud.org/OasisOLC/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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