[NEWBIE] ch->player.weight

From: Shaun Bourque (GraspCHAOS@aol.com)
Date: 05/31/99


i am trying to change the weight and height sets for different sexes/races. i
have installed some code and when testing i have only 1 problem. if a player
is a male ogre, his weight is from 1 to 20 or so, but his height is correct
with the code. this is what i have:

  if (ch->player.race == RACE_OGRE) {
    ch->player.weight = number(250, 300);
    ch->player.height = number(205, 235);
  }

the rest of the races/sexes work and put in a number between the range. this
is the only one that has a problem. i thought maybe there was a ceiling on
the range so i tried number(100, 100) but i still get the players weight set
to 7. any ideas? or suggestions would be most appreciated.


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