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

Query 1d6-1d6+atr+mod.

1610425311

Edited 1610425729
I'm trying to make this work: /em ?{Skill| Agi, Agi [[1d6-1d6+@{selected|skill-agi}]]| For, For [[1d6-1d6+@{selected|skill-for}]] }+?{mod|0} It works, but does not sum the bonus! I tried a lot of things like trying to put that "+?{mod|0}" everywhere else, trying to use } and a lot of other mad science attempts with no results. Please help! I want roll20 to ask the player which atribute to roll (while selecting a token), then ask for modifiers and make a roll with 1d6-1d6+atr+mod.
1610425878
Oosh
Sheet Author
API Scripter
You just need to get the ?{mod|0} section inside the [[ inline roll ]] - /em ?{Skill| Agi, Agi [[1d6-1d6+@{selected|skill-agi}| For, For [[1d6-1d6+@{selected|skill-for}} +?{mod|0}]] So if you pick the first option Agi, it would look like this: /em Agi [[ 1d6-1d6+@{selected|skill-agi} +?{mod|0} ]] instead of this: /em Agi [[ 1d6-1d6+@{selected|skill-agi} ]] +?{mod|0}
Worked like a charm!