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

Anima Prime Die Roller

So I am relatively new to macro writing on roll20. I'm trying to set up a die roller macro for a game called Anima prime. I've read through the dice references on the wiki and I am getting closer but I'm not quite there yet and I'm hoping to get some assistance. Here is what i am trying to accomplish: So when you hit this macro id like it to prompt you to choose the number of dice you are going to roll. Results of 1 and 2 are "Misses" results of 3, 4, and 5 are called "Strike" Results of 6 are called "Charge" My current working macro is: /r ?{Number of dice}d6>3m This at least gives me a baseline to work with that i can use for the game.  The players can just count 6s and subtract from successes if it is possible id love to have the output be something along the lines of: X makes a Skill Roll! 3 Miss 5 Strike 2 Charge Is there any way to do this using the macro system in roll20? Thanks in advance.
1584978221
The Aaron
Roll20 Production Team
API Scripter
You can't do much categorization in macros.  You could start with: /r ?{Number of dice}d6cf<2sd That will give you red dice for misses, green dice for charges, regular dice for strikes.  It will also sort them from 6 down to 1, which makes the counting easier.  You might be able to do something with clever Rollable Tables, depending on what you need to do with the values.  For example, if you never have more than 9 dice, you could set up a rollable table with 3 values: 100 at weight 1, 10 at weight 3, 1 at weight 2, then when you roll the sum of those, the hundred's place will count Charges, the ten's place will count Strikes, and the one's place will count Misses.