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

Problem With Dice Macro - Kuro RPG

So this is my problem. In Kuro (by the way, there is no sheet for this game), when some one roll a dice, he roll his atribute and sum hi skill against a Target Number. The 6 Explode but there is a catch... every 4 i count as 0. And there is my problem. I cant figure a macro where all this work. I´m trying to make one that ask the players the number of dices, the number in skill and then de TN. He click and the roll sum everything and show how many 4 apear.  Someone has some tips? ps: Sorry any bad english
1466485755

Edited 1466485835
I found those rules on the game's website: Tasks in Kuro are handled by rolling a number of six-sided dice equal to a characteristic (Strength, Reflexes and so on) and comparing the total to a target number based on the difficulty of the task. A skill may add a bonus to the total. A roll of 6 on any die allows you to roll another die to add to the total. Be warned: Shi (4) is also the word for Death, so any die that rolls a 4 is ignored for fear of angering the spirits! Unfortunately, it's not possible for a roll to "ignore 4's" without the assistance of an API Script . (Access to the API is available in games in which the Creator has an active Pro subscription.) However, you could make use of  roll highlighting and dice sorting to make it easier to tell how many 4's are rolled. For example, /r 10d6!cf4sd The above highlighting rolls of 4 in red (rolls of 6 are highlighted in green by default), and sorts the rolled dice in descending order (highest to lowest).
Great Help. I can get Pro Acess for that, but i cannot phanton how to do it. Can u help? I don´t want to give trouble
There are quite a few API Scripts that have been written to accomodate special dice-rolling rules, and I know there are users in the API Forum who would be happy to help you adapt one of these scripts (or even write your own) to suit your needs. If you're interested, I recommend starting a thread in the API Forum , outlining all of the mechanics you want to include within your dice-rolling script. If you additionally took some time to check out the dice-rolling scripts in the Roll20 API Repository , and choose a script that seems like it incorporates any mechanics that are at all similar to the ones you'd like for your own script, that would bring you a lot closer to the completion of this project. Good luck!
Silvyre, thanks a LOT, you helped so much. If you have time, one last help? I come with this Macro, so the players can chose the Atribute to roll, but I can´t do again, so a box apear and they can input the Skill (qith is only a number to sum after the roll )
leandropug said: I come with this Macro, so the players can chose the Atribute to roll, but I can´t do again, so a box apear and they can input the Skill (qith is only a number to sum after the roll ) It sounds like you're describing Roll Queries . Maybe, something like this? /r 2d6 + ?{Skill|0}