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

Sneak Attack Formula for Pathfinder Rogue?

I can't seem to figure out the proper formula to automatically calculate sneak attack damage for a rogue. This is what I have - [[floor(@{level}/2)d6]] but that gives a syntax error. Can anyone help me out?
1407137678
Lithl
Pro
Sheet Author
API Scripter
Functions don't work before the 'd'. However, the number before the 'd' is automatically rounded to the nearest whole number. To ensure that you're rounding down, subtract something less than 0.5. For example: [[(@{level} / 2 - 0.1)d6]] ought to do the trick.
1407138955

Edited 1407138976
Gauss
Forum Champion
For a Pathfinder rogue (1d6 every odd level) I suggest using (@{level}/2+0.1)d6 If the level is a "1" then it will produce a 1d6 (0.5+0.1)d6 = (0.6)d6 = 1d6 If the level is a "2" then it will produce a 1d6 (1 + 0.1)d6 = (1.1)d6 = 1d6 If the level is a "3" then it will produce a 2d6 (1.5 +0.1)d6 = (1.6)d6 = 2d6 and so on....
Thanks guys!