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

I am trying to make a macro, that checks for successful hit - but where the target succes has 2 modifiers... cant get it to work

As stated, I am trying to make a macro for attack rolls using the Hero System... Essentially what it is supposed to math out is if a roll of 3d6 amount to a targeted value of 11+(own modifier)-(target modifier).  I just cant seem to get it to work, doesnt help that im a moron when it comes to all these codes and macros...  what i've got so far is this: &{template:default}{{name=Attack Roll!}}{{Attack Roll=  [[{3d6, 0d0}>[[11+?{Your OCV|0}-?{Target DCV|0}]]}} It portrays the template, and i've gotten it to finally math out the correct sequence of  11+(own modifier)-(target modifier), but now it just doesn't roll the dice... Please help 
So, just a quick Update, Got it to Roll, and ive had it do a > “bigger than” when it needs to be < “less than”/“within The given number… it looks like this now: &{template:default}{{name=Attack Roll!}}{{Success=  [[{3d6, 0d0}<[[11+?{Your OCV|0}-?{Target DCV|0}]]]]}} the problem now, is that i checks for The Rolls seperately, when i need it to check for The sum of 3d6
1714835812

Edited 1714835825
Gauss
Forum Champion
Hi Lukas M., Try wrapping 3d6 with inline brackets [[ ]], then replace 0d0 with 0. 
Thank you so much! It works now! Forever grateful Gauss said: Hi Lukas M., Try wrapping 3d6 with inline brackets [[ ]], then replace 0d0 with 0.