DiceRoller

פרמיום
על ידי Jordan | מְעוּדכָּן 6日前 | Gaming
פּוֹפּוּלָרִיוּת

8.7 / 10

חֶבִיוֹן

79ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Added Roll for Stats Endpoint

Rapid account: Foxjordan
foxjordan
7日前

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.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות