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 .
×

Why is this macro not working? (D&D5e)

So I made this macro that is supposed to ask the player how many attacks they want to make, and what the enemies Armor Class is. based on this information, it should then tell you how many of the attacks hit, simple right? Well, apparently not. This is the Macro so far: /roll ?{Number of Rays}d20+@{Bell Calmreich|spell_attack_bonus}+2>=?{Enemy AC} the makro does not register as a asking for a target number, and instead just gives me the results of all those rolls together, instead of telling me how many met the target number. the roll20 dice reference says that grouping the rolls helps when you add modifiers to the roll (the specific example they give is this:  /roll {3d6+1}<3 ), so then I tried doing this: /roll {?{Number of Rays}d20+@{Bell Calmreich|spell_attack_bonus}+2}>=?{Enemy AC} this formula just gave me back this message " There was an error with your formula. Please try again. ", so thats also a bust. What am I doing wrong here? I cannot see why this formula is not working right.
1681216873

Edited 1681217069
Gauss
Forum Champion
This should work correctly: /roll {?{Number of Rays}d20+@{Bell Calmreich|spell_attack_bonus}+2}>?{Enemy AC} Note: Roll20 does not use >=. In Roll20 > is the same as >= mathematically. 
ok, that seems to do it, i thought i tried that before but apparently not. weird I guess, but whatever. thanks for the help