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

How do I automatically add an item bonus to an ability check?

Hello, I'm quite new to Roll20 and I'm still trying to get the hang of things, but I love what I've figured out so far, but I'm having trouble with a new problem I've encountered. In my game, my Bard received an item that gives a +4 to her Performance checks when she wears them, and I'm trying to figure out how to automatically add that bonus to her Performance checks (I would love to see a 31 show up in that chat window someday, hehe). The closest I got was a post I came across on here that suggested adding a roll in the item description, which looked like it worked, until I started getting rolls that were well below the minimum possible roll, as shown in my lame paint-edited screenshot below. Thanks =)
1603552634
David M.
Pro
API Scripter
Try this instead. Your syntax seems a bit mixed up. [[ 1d20 + @{Performance}[Performance] + 4 ]] 
I could swear I tried doing that during my trial and error tests, but I guess not. That one worked great. Thanks so much =)
1603561123
Andreas J.
Forum Champion
Sheet Author
Translator
Here is a guide that shows or links to most macro-related things: <a href="https://wiki.roll20.net/Complete_Guide_to_Macros_%26_Rolls" rel="nofollow">https://wiki.roll20.net/Complete_Guide_to_Macros_%26_Rolls</a>
If you use powercards, this is another method: !power {{ &nbsp; --txcolor|#77ffff &nbsp; --bgcolor|#000000 &nbsp; --erowtx|#77ffff &nbsp; --erowbg|#770000 &nbsp; --orowtx|#ffff00 &nbsp; --orowbg|#770000 &nbsp; --name|Performance &nbsp; --leftsub|@{selected|character_name} Exercises&nbsp; &nbsp; --rightsub|a Skill! &nbsp; --!desc|[Skill](<a href="https://media.giphy.com/media/l0K4igahAHnV46PBe/giphy.gif" rel="nofollow">https://media.giphy.com/media/l0K4igahAHnV46PBe/giphy.gif</a>) &nbsp; --!Skill|@{selected|character_name} rolls [[ [$Skl] ?{Skill|Standard,1d20cf&lt;1cs&gt;20|Advantage,2d20kh1cf&lt;1cs&gt;20|Disadvantage,2d20kl1cf&lt;1cs&gt;20} + @{selected|performance_bonus} [Bonus] + @{selected|global_skill_mod} ]]&nbsp; }}
1603569192
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Michael, was that written for the&nbsp;D&amp;D 5th Edition by Roll20 Sheet? From the screen shot and macro above, Cald is using the Shaped Sheet.