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

Need help fixing this for a friend

Can anyone help me fix this? I am not sure what is entered wrong.  @{wtype}&{template:simple} {{rname=^{sleight_of_hand-u}}} {{mod=@{sleight_of_hand_bonus}}} {{r1=[[@{d20}+4[Proficiency]+6[dexterity]@{pbd_safe}]]}} {{normal=1}} {{global=@{global_skill_mod}+1d4[Tireless]]]}} @{charname_output}
1610230475
Andreas J.
Forum Champion
Sheet Author
Translator
What happens when your friend tries to use it? Is it just typed in the chat, or saved as macro somewhere How does the original macro look like, the one you're trying using as a template for this one? We need more info/context to be able to help.
He is trying to add 1d4 to his sleight of hand rolls. The string is copied out of his attributes & abilities tab.
Found the mistake, but let's also clean some things up to future-proof it (it's bad to have static bonuses for attributes that can change over time like proficiency bonus and ability score mod). @{wtype}&{template:simple} {{rname=^{sleight_of_hand-u}}} {{mod=@{sleight_of_hand_bonus}}} {{r1=[[@{d20}+@{pb}[Proficiency]+@{dexterity_mod}[dexterity]@{pbd_safe}]]}} {{normal=1}} {{global=[[@{global_skill_mod}+1d4[Tireless]]]}} @{charname_output} The problem was in the global modifier, it had no double brackets at the start so it wasn't turning the d4 into a roll. Also, be aware that due to the inherent inline nature of the global skill mod, it will not show individual elements of any global skill modifications like Guidance, it won't even say where the bonus(s) came from, just the Tireless will appear as a d4 roll and note that it is from Tireless.
Oh, let's also make sure it works regardless of the advantage option for the sheet. The way you had it it will always roll a single d20, even if he sets his sheet to advantage or disadvantage: @{wtype}&{template:simple} {{rname=^{sleight_of_hand-u}}} {{mod=@{sleight_of_hand_bonus}}} {{r1=[[@{d20}+@{pb}[Proficiency]+@{dexterity_mod}[dexterity]@{pbd_safe}]]}} @{rtype}+@{pb}[Proficiency]+@{dexterity_mod}[dexterity]@{pbd_safe}]]}} {{global=[[@{global_skill_mod}+1d4[Tireless]]]}} @{charname_output}
Thank you very much for your help!