Hello! I added a new endpoint to let you roll for stats.
Provide the following data in the request body:
{
“diceSides”: integer
"numDice": integer
"numStats": integer
"rollType": string - one of “drop_lowest”, “no_drop”, or “drop_highest”
}
The response will include an array or result objects. The objects will contain resultsArray and total. If your request includes a drop, the object will also have a dropped property. The resultsArray does not include the dropped value, so if you want to use it, you will need to get it from the dropped property.
הצטרף לדיון - הוסף תגובה למטה: