Quote:
Originally Posted by half
This is fascinating. I'd be interested in somehow incorporating this into the game (perhaps as a cheat/debug feature, perhaps something else).
|
I'd love to see it included, too. I can easily provide a diff/patch file that you can apply to the Sil source.
There are some opportunities for refactoring the existing code while including this part; for instance, in Sil there are
* a function that makes a protection roll and returns the result
* two functions that compute min and max protection (for displaying)
I added
* a function that computes the probability distribution of the protection roll.
The four are independent, but probably they should be merged not to duplicate the logic. I can work on it and similar issues.