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

Formatting error with complex string

I have a formatting error with a complex string &{template:default} {{name=BARKA makes NOTICE Check}} {{A roll of [[[[FLOOR(({@{BARKA|WIS}+@{BARKA|INT}})/2)]]+(@{BARKA|Notice})]] or less is successful}}} /roll 1d20<[[FLOOR({(@{BARKA|WIS}+@{BARKA|INT}})/2)+(@{BARKA|NOTICE))]] WIS is 16 INT is 11 FLOOR supposed to parse to 13 @Notice is -4 So final result is supposed to be 9 I can't find error after repeated attempts
1488228927

Edited 1488228961
The Aaron
Pro
API Scripter
Try: /roll 1d20<[[floor((@{BARKA|WIS}+@{BARKA|INT})/2)+(@{BARKA|NOTICE})]]
The floor() function is case sensitive, so FLOOR() will throw an error.
Thank you very much! I was going blind searching for my error!