Re: NEWBIE Damroll Hitroll

From: George Greer (greerga@circlemud.org)
Date: 01/30/00


On Sun, 30 Jan 2000, Jerry Billings wrote:

>I'm trying to set the max damroll and max hitroll on my mud to 200 and my AC
>to
>-500, i do believe i've done all this correctly but when i try to set my
>stats to that in the mud dam and hit wont go over 90 and ac wont go below
>-100 any ideas here?

-128 to 127 for dam/hitroll.  It's a limit of the variable.

fight.c:

int compute_armor_class(struct char_data *ch)
{
  int armorclass = GET_AC(ch);

  if (AWAKE(ch))
    armorclass += dex_app[GET_DEX(ch)].defensive * 10;

  return (MAX(-100, armorclass));      /* -100 is lowest */
}

There's more places with -100 as well.

--
George Greer
greerga@circlemud.org


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT