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

[bug] Traveller Mg2e character sheet miscalculating Characteristic Modifiers

In the Mongoose Traveller 2e character sheet it auto-calculates the modifiers for your characteristics such as Strength, Dexterity etc. The modifier it calculates goes from 0 to 3, instead of -3 to +3 as you change your Temp score. The correct scores should be: Characteristic Modifiers Characteristic Score Dice Modifier Characteristic Score Dice Modifier 0 -3 1-2 -2 3-5 -1 6-8 0 9-11 1 12-14 2 15+ 3 Any help appreciated.
1673883864
GiGs
Pro
Sheet Author
API Scripter
Thats weird. I've just looked at the sheet's code, and it looks like it should be calculating attribute modifiers correctly. Have you tried creating a new blank sheet, and just entered attribute scores of different values to see what happens? Sometimes a sheet gets corrupted and doesn't work properly. The relevant calculation is on line 3864 of the the html.
The sheet was given to me on Sunday 17 Jan '23 blank to fill out, so that is weird. It's very new, and as far as I can tell was like that when I got the new one. I shall ask my fellow new other players to check this thread. I could possibly try a new sheet soon when I can get one from the GM It works, and changes numbers, I just get the wrong numbers.  Is this the relevant code? This part of the code is for strength. Even if I set them to the right numbers, if I shut the sheet sown and reopen it, it re-calculates to the wrong numbers again.
MY MISTAKE. PLEASE IGNORE. I was using the Temp stat wrong. I thought the temp was an absolute value as well, but you use it as a take away to adjust the main stat, and that computes the value from both of them, not just the "Temp" stat.  
1673958359
GiGs
Pro
Sheet Author
API Scripter
Whew. I'm glad you worked it out :)