Re: [QUESTION] Saving throws

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 11/03/97

On Mon, 3 Nov 1997, Ryan Gasper or Steven Arnold wrote:

->        So, I did some checking, and found that all new chars had all 0s
->for saving throws. Would the above reason be why? having 50 levels but
->only 40 in the saving throw table? and if so, why does it compile?

Hm, this one has me:

  const byte saving_throws[NUM_CLASSES][5][41] = {

Now, from what I can tell, the 41 is supposed to be levels 0-40.  Why
0-40?  Who knows?  Why using 41 instead of LVL_IMMORT+10?  <shrug>
Could this cause a problem?  Well, if you call [CLASS_MAGE][1][41]
then you get an interesting result (because there's only 0-40).  But,
[CLASS_xxx][x][0] shouldn't be problematic (it should give 90); except
for classes that aren't in the table.

Perhaps Jeremy will have some insight on the matter of this unusual

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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