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

Beginner - Floor value question/alternatives

1587715696

Edited 1587722972
Hey I made this drop down Macro to select save roles, wondering how to get floor value to display a "natural value", for easier readability for players. &{template:DnD35StdRoll} {{skillflag=true}} {{name=@{character_name} }} {{?{Save|Fortitude, **Fortitude Save** [[1d20+ @{fortitude}]]|Reflex, **Reflex Save** [[1d20 + @{reflex}]]|Will, **Will Save** [[1d20+ @{will}]]} }} also having same issue with drop down Skill macro, will this fix apply to that also? tends to be places when there are no ranks
You cannot do it directly here. You should go in the Reflex macro and put double square brackets   [[   ]]  around the ref-modifier calculation. Also you can put label in single square bracket   [ ]   to further enhance readability. First answer in this forum, I hope I am correct and it will help :)
1587756572

Edited 1587763418
Could you give an example of the ref-modifier bit you mean and the label. I understand which bits of my macro do what but the terms and names of each component are beyond me. like this? @{[[reflex]]}  and  [**Reflex Save**] I looked it up [[@{reflex}]]  seems like a redundant number of brackets but it did the trick. thanks
I'm playing with a 3.5 sheet, so I hope I can at least give you some hints: Sthis is your calculation for the Fortitude save. **Fortitude Save** [[1d20+ @{fortitude}]] @{fortitude} is a call to a parameter (your Fortitude Bonus) which is the result of a calculation itself. The floor() mess comes from the calculation of the Con modifier, which reads floor((@{con}/2)-5) Unless you can access the modifier calculation on your sheet (which I was not able to do), the only way to improve readability is to put @{fortitude} in double square bracket, which is the way of Roll20 to display the result of the operation. This means that you get rid of all the adding up bonuses. Furthermore, if you put the name of the parameter in single square brackets, will be displayed as a label for the number. Like this: [[1d20 + [[@{fortitude}]][Fort Bonus]]] Your Tooltip should then read: Rolling 1d20 + 5[Fort Bonus] = 11 + 5.  Obviously yours will be filled with random generated dice rolls. I let you mess with the whole macro and see if you get the point ;)