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 .
×

Assistance on implementing the floor command with an inline roll.

Hello Everyone, I'm posting this as simple as possible so I have understanding of how to do it. The inline command is as follows. {{attack vs Reflex=[[1d1+@{level}/2]]}} level = 3 If you run this command you get 2.5, I want to implement the floor command into this so the answer is 2. Can someone please assist me.
1472685989

Edited 1472686003
The Aaron
Roll20 Production Team
API Scripter
Give this a shot: {{attack vs Reflex=[[1d1+ floor( @{level}/2 ) ]]}} See:&nbsp; <a href="https://wiki.roll20.net/Dice_Reference#Rounding_Ro" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Rounding_Ro</a>...
You're the guvnor Aaron! Thank you!
1472698348
The Aaron
Pro
API Scripter
No worries. =D Happy Rolling!