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

calculate total dice pool by adding attributes with Exalted 3rd Edition Dice Roller

I'm trying to create attack and damage macros using the Exalted 3rd Edition Dice Roller, but it seems to somehow be breaking order of operations. for example: Character has a 3 dex and a 2 archery Macro code: !exr @{Character_Name|dexterity}+@{Character_Name|archery}# That should get dex and archery skill, add them together, and roll the total number of dice as 5d10. Instead I get "rolling 3+2d10>7" and it only rolls 2 dice If I try putting the attributes in brackets, !exr [@{Character_Name|dexterity}+@{Character_Name|archery}]# Then I get "rolling [3+2]d10>7" and it rolls a single die regardless of what's actually in the brackets. How do I get it to add multiple things together and pass that total number to the API?
1612814979
GiGs
Pro
Sheet Author
API Scripter
You're using a script there I dont recognise, and I dont know what the hashtag is doing at the end, so it's hard to be sure. But I would try using normal brackets, and inline brackets - try each of these: !exr (@{Character_Name|dexterity}+@{Character_Name|archery})# !exr [[@{Character_Name|dexterity}+@{Character_Name|archery}]]# If neither of those work, you'll have to post a link to the script, because the problem may be in whatever it is doing.
*headdesk* OH, FFS! Yup, the first option worked. Thank you!
1612829160
GiGs
Pro
Sheet Author
API Scripter
Great! :)