Re: notes system (whoops!)

From: Scott Bowden (bowden@MEDIAONE.NET)
Date: 08/20/98


A slight error in the saving throw code I put up. It should be:

  int save; <-- throw in somewhere near top of function

  switch (level) {
    case  0: return 0;
    default:
      save = (80 - (level - 1));
      if (save < 0)
        return 0;
      else
        return save;
  }

That makes sure that the saving throws don't go sub-zero. :)

  - Scott Bowden


     +------------------------------------------------------------+
     | 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/15/00 PST