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 .
×
May your rolls be chill this holiday season!
Create a free account

Can you help me building a "Ear for Deceit" macro? [D&D 5e]

Hello everyone, I'm a very noob on macros, so I need some help to build one for the "Eye for Deceit" feature from Inquisitive Rogue (XGtE). I need to make any roll less or equal to 7 to become an 8. This can be made? 
1597329145
Ziechael
Forum Champion
Sheet Author
API Scripter
Depending on the sheet being used or whether you want to run a bespoke macro you are essentially trying to create this: [[ {1d20,8+0d0}kh1 + @{insight} ]] Which of the 5e sheets are you using?
Ty Ziechael! I'm using the standard one, by roll20.
Here's a macro for a two-roll Insight check (take the left-side one if you have neither Advantage nor Disadvantage): &{template:simple} {{rname=Insight}} {{mod=@{insight_bonus}}} {{r1=[[{1d20,8+0d0}kh1+@{insight_bonus}]]}} {{always=1}} {{r2=[[{1d20,8+0d0}kh1+@{insight_bonus}]]}} {{charname=<character name>}} Or, if you'd prefer a query about Advantage/Disadvantage, you can replace the "always" with ?{Roll Type?|normal|advantage|disadvantage}
Ty Dakota! But I'm getting an error when trying to use your macro saying:  TypeError: Cannot read property 'substring' of undefined
1597346744

Edited 1597363688
David M.
Pro
API Scripter
Looks like Dakota's syntax is assuming you have it in a character "ability". If you want it in a collections macro, you will have to prefix the character name to the insight property, so it knows where to look. So, for character name "Bob" this should work: &{template:simple} {{rname=Insight}} {{mod=@{Bob|insight_bonus}}} {{r1=[[{1d20,8+0d0}kh1+@{Bob|insight_bonus}]]}} {{always=1}} {{r2=[[{1d20,8+0d0}kh1+@{Bob|insight_bonus}]]}} {{charname=Bob}} Edit - @{selected|..} or @{target|..} would probably be more appropriate for a collections macro, rather than hardcoding the CharName..
1599933431

Edited 1599933924
You can also use the following code if you want to make it a token action: &{template:simple} {{rname=Insight}} {{mod=@{selected|insight_bonus}}} {{r1=[[{1d20,8+0d0}kh1+@{selected|insight_bonus}]]}} {{always=1}} {{r2=[[{1d20,8+0d0}kh1+@{selected|insight_bonus}]]}} {{charname=@{selected|token_name}}} If you want to make it so you can use it as a token action, but choose whether or not it has (dis)advantage, you can also use the following: &{template:simple} {{rname=Insight}} {{mod=@{selected|insight_bonus}}} {{r1=[[{1d20,8+0d0}kh1+@{selected|insight_bonus}]]}} {{?{(dis)advantage?|normal|advantage|disadvantage}=1}} {{r2=[[{1d20,8+0d0}kh1+@{selected|insight_bonus}]]}} {{charname=@{selected|token_name}}} Hope that helped... If you're still having trouble at least.