Re: [bug]level_exp in class.c...

From: Rohan Wallace (rohan@senet.com.au)
Date: 12/30/99


>    if (level > LVL_IMMORT) {
>      return EXP_MAX - ((LVL_IMPL - level) * 1000);
>    }
>
> shouldn't this be if (level >= LVL_IMMORT)?


err...no. Under that code you will find a large switch statement and the
last couple of lines read:

      case 29: return 6850000;
      case 30: return 7400000;
      /* add new levels here */
      case LVL_IMMORT: return 8000000;

so all levels up to and including LVL_IMMORT are handled by the
switch/case statements and any levels above are handled by the piece of
code you gave.



Rohan Wallace
System Programmer                  222 Grote Street
SE Network Access                  Adelaide SA 5000


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