|
|
|
#1 |
|
Join Date: Mar 2017
|
I recently upgraded to GCA5 and installed the Knowing Your Own Strength bundle. But I think I've run into a fairly minor bug with it. It appears that GCA5 is rounding BL incorrectly.
Per Pyramid 3/83 p. 17, a character with ST 1 has BL 2.5 on the Revised Strength Table, but GCA5 is giving a value of 2 (and calculating encumbrance limits from that BL). Similarly, at ST 13 GCA5 gives BL 39, instead of 40 from the table. The formula in Pyramid 3/83 for ST 13 would yield 39.905, rounded to 40. Rounding on the Revised Strength Table appears to be normal rounding (i.e., nearest whole number) which is consistent with the usual BL formula from B.15. Based on these examples, and other ST values I checked, I think GCA5 is calculating BL with the KYOS formula and then dropping fractions—instead of rounding to the nearest whole number. Is there a way to fix this as a user? That is, is there a way to change the rounding convention for BL calculation without needing an update from developer? |
|
|
|
|
|
#2 |
|
Join Date: Aug 2004
Location: Germany
|
When you are in Classic View, go to the Attributes Tab and klick on Basic Lift in the All Attributes box. Then klick Edit, Advanced and change basevalue to "@round(2 * 10 ^ (ST:Lifting ST / 10),@if(ST:Lifting ST::score <= 7 then 1 else 0))" (without quotation marks).
This will calculate BL values with one decimal place, rounding to the nearest number if ST is below 8. The formula given in the gdf is indeed dropping fractions completely. In addition AFAICT the Tag roundup is doing nothing and can be deleted.
__________________
Feel free to add 'IMO' where appropriate. |
|
|
|
|
|
#3 |
|
Join Date: Mar 2017
|
That worked! Thank you!
|
|
|
|
|
|
#4 |
|
GCA Prime
Join Date: Aug 2004
Location: Portland, OR
|
Thanks for the fix, Imion. I'll get an updated file out soon.
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23. |
|
|
|
![]() |
| Tags |
| bug, gca, kyos, rounding |
|
|