Re: [QUESTION] Saving throws

From: Shaw Mead (meadsh@ECE.ORST.EDU)
Date: 11/03/97


When I added my levels I noticed this problem also.  It would have been a
pain to rework these tables so I took them out and replaced them with a
formulas.  I also did this for THACO, titles, and exp when I added levels.


On Mon, 3 Nov 1997, Daniel Koepke wrote:

> 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
> table...
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


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