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

[5E OGL] Custom Proficiency Bonus

Hey there, So I'm working on alternate game mechanics for 5E, and I wanted to play with a different calculation for PB. According to what I could find on the Roll20 Wiki ; Proficiency Bonus: By default, the character's Proficiency Bonus is calculated by class level. This setting allows you choose to calculate this bonus via By Level (the default), via a Proficiency Die as described in the Dungeon Master's Guide, or a Custom calculation which rolls out a field to enter a roll formula for the bonus. So I went in the Settings of a sheet, ticked "custom" under PB, then I have entered the folllowing working code: [[{floor((@{level}+1)/2),9}kl1]] And how it looks like on the sheet for me: I have tried with and without the inline dice-rolling brackets, same weird thing happens. I went back to the game's option page, changing PB there doesn't appear to help. I have closed and re-opened Chrome, still no change. So my question is; is this functionality meant to "work" like this? Is it broken? What I understand from the Wiki, the piece of code in the settings should calculate properly. Am I reading the Wiki wrong? o.O
1661320427

Edited 1661320671
Gauss
Forum Champion
From the looks of it on my end it is working correctly. If you make an attack roll you will see the roll has the correct calculation for PB.  For example: [[{floor((@{level}+1)/2),9}kl1]] At level 1 it should produce a 1, it does. At level 11 it should produce a 6, it does.  At level 20 it should produce a 9, it does.  Only the appearance of the PB bonus is ugly, because there is no calculation step in-between the equation and the display. 
I only tested the skills, and it wasn't adding the PB o.O Are you saying it does on your end?!?
1661322692
Gauss
Forum Champion
Neo said: I only tested the skills, and it wasn't adding the PB o.O Are you saying it does on your end?!? Oops, forgot to test skills, confirmed, it does not work on skills. When you are inserting formula into pre-existing sheet calculations they often break the sheet calculations. I will see if I can find a workaround, but I am not hopeful.  Honestly, my suggestion is this: put the formula in a macro, pop the macro whenever you level, adjust the custom value to the value of the macro. 
1661322801

Edited 1661323369
Only the appearance of the PB bonus is ugly, because there is no calculation step in-between the equation and the display.  I just tested it on another sheet and; It does NOT add PB on Saving Throws, it does NOT add PB on Skillls, and here's what it shows on an Attack: A +1 from PB (lvl 1 character) does get added for the attack when you hover over the attack roll.
1661323549
Gauss
Forum Champion
Neo said: Only the appearance of the PB bonus is ugly, because there is no calculation step in-between the equation and the display.  I just tested it on another sheet and; It does NOT add PB on Saving Throws, it does NOT add PB on Skillls, and here's what it shows on an Attack: A +1 from PB (lvl 1 character) does get added for the attack when you hover over the attack roll. It appears we were both posting near the same time, please see my previous post. 
Gauss said: Honestly, my suggestion is this: put the formula in a macro, pop the macro whenever you level, adjust the custom value to the value of the macro.  If I wanted to setup character sheets manually, I wouldn't be wasting my time on Roll20 to be honest lololol :) Gauss said: It appears we were both posting near the same time, please see my previous post.  I'm a slow typer -.-
1661324610

Edited 1661324732
Gauss
Forum Champion
Neo said: Gauss said: Honestly, my suggestion is this: put the formula in a macro, pop the macro whenever you level, adjust the custom value to the value of the macro.  If I wanted to setup character sheets manually, I wouldn't be wasting my time on Roll20 to be honest lololol :) Gauss said: It appears we were both posting near the same time, please see my previous post.  I'm a slow typer -.- Unfortunately there are limitations to the pre-made character sheets. It is just the nature of things. I don't think anyone foresaw someone using a formula for a custom proficiency bonus, so there was no provision made to resolve it to a value (assuming my understanding is correct) before proceeding to the next step. You have to admit, it is a corner case. :) As for doing things manually, there are still manual elements to Roll20, it is not, and will never be, fully automated. That is a good thing. Full automation would deprive it of variability. 
Gauss said: Neo said: Gauss said: Honestly, my suggestion is this: put the formula in a macro, pop the macro whenever you level, adjust the custom value to the value of the macro.  If I wanted to setup character sheets manually, I wouldn't be wasting my time on Roll20 to be honest lololol :) Gauss said: It appears we were both posting near the same time, please see my previous post.  I'm a slow typer -.- Unfortunately there are limitations to the pre-made character sheets. It is just the nature of things. I don't think anyone foresaw someone using a formula for a custom proficiency bonus, so there was no provision made to resolve it to a value (assuming my understanding is correct) before proceeding to the next step. You have to admit, it is a corner case. :) As for doing things manually, there are still manual elements to Roll20, it is not, and will never be, fully automated. That is a good thing. Full automation would deprive it of variability.  Proficiency Bonus: By default, the character's Proficiency Bonus is calculated by class level. This setting allows you choose to calculate this bonus via By Level (the default), via a Proficiency Die as described in the Dungeon Master's Guide, or a Custom calculation which rolls out a field to enter a roll formula for the bonus. Straight out of the Roll20 Help Center page...
1661326952

Edited 1661326965
Gauss
Forum Champion
I added to the bug report page, since there is clearly a bug involved I will make all further posts there.