Bcbrown fixed his error with the archery check. But he put the clamp for the ExtraPercent at the bottom, which is incorrect. It should be directly below this line:
Quote:
|
ExtraPercent = 100 + (BaseBonus * <random value between 0.0 and 1.0>)
|
It should look like:
Quote:
ExtraPercent = 100 + (BaseBonus * <random value between 0.0 and 1.0>)
If ExtraPercent > maxExtra:
ExtraPercent = maxExtra
|
Hopefully he will fix it soon. Unfortunately he didn't do a great job in transcribing the formula to pseudocode. This was not my work.