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

Warder's Intuition Macro

I've been trying to add a Macro for Warder's Intuition. I've tried reading the various Roll20 macro sites, tried keyword searches, and attempted to puzzle it out but,  I'm having trouble understanding Macro syntax. I have a set of Thieve's Tools and Warder's Intuition and I want a macro that allows me to add the 1d20, 1d4, Proficiency Bonus, then query which modifier to use from the attributes. This is what I came up with (charactername is replaced with actually character's name in Macro):  &{template:default} {{name=Test}} {{[[1d20+1d4+@{CHARACTERNAME|pb}+?{CHARACTERNAME|STR_mod|DEX_mod|CON_mod|INT_mod|WIS_mod|CHA_mod}]]}} I'm only getting 2 numbers adding together in the result. Any help would be appreciated.  Thieves' Tools This set of tools includes a small file, a set of lock picks, a small mirror mounted on a metal handle, a set of narrow-bladed scissors, and a pair of pliers. Proficiency with these tools lets you add your Proficiency Bonus to any Ability Checks you make to Disarm traps or open locks. Warder's Intuition When you make an Intelligence (Investigation) check or an ability check using thieves’ tools, you can roll a d4 and add the number rolled to the ability check.
1624730158

Edited 1624730216
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You need to actually call the attribute. Similarly to how the pb is called: &{template:default} {{name=Test}} {{[[1d20+1d4+@{CHARACTERNAME|pb}+?{CHARACTERNAME|Strength,@{strength_mod}|Dexterity,@{dexterity_mod}|Continue for the rest of abilities}]]}} And, just checking. Are you using the 5e by Roll20 sheet? Because it has handling for the dynamic attributes used for tools. You can put a die roll in the mods field (even though it's tiny)
1624733470
timmaugh
Forum Champion
API Scripter
In addition to what Scott said, I think you have to pay attention to the 2 different ways to call the sheet attribute... @{attribute} - works if you're calling it FROM the sheet that will supply the value. So if you are on Gunthar the Grunting's sheet, you'll get Gunthar the Grunting's "attribute". You can use this in an ability on Gunthar's sheet. @{character|attribute} - works wherever: either on the character sheet (in an ability or field), or from a macro. That matters when it comes to your roll query... ?{CHARACTERNAME|Strength,...} That will prompt you with the character's name, but not supply it to the listed item calls (in fact, the order of operations goes the other direction... sheet calls before roll queries). If you are calling this *not* from the character sheet, your calls in the roll query will need to be of the second form: @{character|attribute} &{template:default} {{name=Test}} {{[[1d20+1d4+@{CHARACTERNAME|pb}+?{CHARACTERNAME|Strength,@{CHARACTERNAME|strength_mod}|Dexterity,@{CHARACTERNAME|dexterity_mod}|Continue for the rest of abilities}]]}}
1624747514

Edited 1624747723
Thank you so much. *Edit: I actually use Beyond20, but the tools don't have dedicated rolls like the 5e sheet. I wanted to just have a macro for the occasions I would actually use the trait.