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

Beginner Scripter need help for a custom system

May 10 (2 months ago)

Hello everyone, 

As the title says, i am trying to create a custom dice roll plate for a game i run on an hombebrew system and read that API were really usefull for that.


To describe a bit what i need : 

The system is based around d6s, you roll multiple and count the number of successes.

One are always -1 on the success count (and may trigger missteps if you roll too many.

two and three don't change anything (no additional successes or failures) except if you have some special modifiers that increase your success range.

Four and five are usually success, except special mods that will decrease your success range

Sixes are 2 successes and my trigger over-success.

Characters can also have Free success to add to their roll (aka mastery) and free 6 (that only count for scoring an over-success aka crit boost)



Taking into account that the base number of dice, mastery and crit boost are already on the sheet. 



So i need an input with the number of bonus/malus dices (due to circumstances or temporary buffs).

One with the success range modifier.


And i want as an output :

how many successes (including mastery)

how many 6s (including crit boost)

and how many 1s.


Is that feasable ? And can someone help me/direct me to great ressources to advance on that journey ?

May 10 (2 months ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator

The API could do this, likely involving the meta toolbox. However, I think a simple custom character sheet to do the roll logic would be more useful, and actually probably simpler to use in the long run.

May 10 (2 months ago)

I'm fairly new to this, how do you create custom sheets/roll logic ?

Hey Isen',

Are you still looking for help with this?

If so, I might suggest looking at the Mod ScriptCards. It's extremely versatile and has the ability to perform rolls, process the rolls, and perform conditional logic based on the results.

If you are interested in that, I might be able to help you with a ScriptCards based solution. Let me know.