View Single Post
  #3  
Old 05-11-2026, 11:14 AM
DeathsSilkyMist DeathsSilkyMist is offline
Planar Protector

DeathsSilkyMist's Avatar

Join Date: Jan 2014
Posts: 8,382
Default

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.
Reply With Quote