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

Just can't work out how?

Help needed. I came up with the following macro which works as intended. &{template:default} {{@{selected|token_name}'s Skill Roll}} {{ ?{Which Skill |  Skill,**Skill** [[9 + (@{selected|INT}/5) + @{selected|Skill} ]]  |  Skill,**Skill** [[9 + (@{selected|INT}/5) + @{selected|Skill} ]]  |  8 or less, **Need** [[8]] | 11 or less, **Need** [[11]] } **Roll is** [[3d6]]  }} However I need to add the ability to add a modifier to the skill roll. So something like +?{modifier}  Annoyingly every time  I add it in, in any combination I can think of, it stops it from working. Any suggestions as to how to go about it? Any help on this would be great. Thanks in advance.
1646576994

Edited 1646577010
Manny L.
Pro
Marketplace Creator
Hi, I knocked this up, based on your macro above, in my DnD 3.5 game. So all you need do is update the skill names and it should work as expected (I hope!). &{template:default} {{@{selected|token_name}'s Skill Roll}} {{ ?{Which Skill |Balance,**Balance** [[9 + [[(@{selected|int}/5)]] + [[@{selected|balance}]] + [[(?{Mod.|0})]] ]] |Climb,**Climb** [[9 + [[(@{selected|int}/5)]] + [[@{selected|climb}]] + [[(?{Mod.|0})]] ]] |8 or less, **Need** [[8]] |11 or less, **Need** [[11]]  } **Roll is** [[3d6]]  }}
Thanks Manny that did the trick. Spelling it out  [[(?{Mod.|0})]]   was the solution I imagine. You are a legend! Thanks again.