- Posts: 6
- Thank you received: 0
May be a bug...
- Topic Author
- New Member
- Posts: 765
- Thank you received: 145
2 months 4 weeks ago #10060 by thomas
Replied by thomas on topic May be a bug...
Well, unless you're actually using armor or other stuff that alters the saving throw, it is correct to be 0. The code uses the saving_throws() function to find the _base_ saving throw and the adjusts it by your "personal" changes:
So, working as intended.
save = saving_throws(class_sav, type, GET_LEVEL(ch)); save += GET_SAVE(ch, type); save += modifier; /* Throwing a 0 is always a failure. */ if (MAX(1, save) < rand_number(0, 99))
The following user(s) said Thank You: mr514
Time to create page: 0.099 seconds