Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[RuneQuest:Roleplaying in Glorantha]:Apparent bug in calculations for Skill Bonuses

I'm about to start a new campaign, and have run into an issue with the calculation of Skill Bonuses.  One player is running a Baboon, and got a great roll for DEX, getting a 21 DEX.  However, all the skill bonuses that are affected by DEX are incorrect.  Agility, Manipulation, and Stealth are all 15% low.  It looks to me like the sheet checks for DEX in the specific ranges of 1-4, 5-8, 13-16, and 17-20.  Since the Baboon's DEX is 21( which should result in +15 to the bonus in all cases) all of those bonuses are 15% low.  I'm assuming the sheet is a webpage, with javascript.  I've done some work with that in the past, so if I can get access to the code, I can probably work on this a bit.  I know you use Git, which I've not used before, but presumably, something could be worked out. Marc Robertson
1536269822
David
Sheet Author
I will take a look at it
1536279124
GiGs
Pro
Sheet Author
API Scripter
It turns out the error occurs for scores of exactly 21. This is from the agility bonus if (curStrength < 5) { BonusMod = -5; }else if (curStrength >16 && curStrength < 21){ BonusMod = 5; }else if (curStrength >21){ BonusMod = 5+(Math.ceil((curStrength-20)/4)*5); } Notice theres a comparison of <21 and >21, which leaves 21 out. The last comparison should be  }else if (curStrength >20){ BonusMod = 5+(Math.ceil((curStrength-20)/4)*5); } You could also use >= 21
1536316799
David
Sheet Author
Already fixed