DiceRoller

फ्रीमियम
द्वारा Jordan | अपडेट किया गया 6 дней назад | Gaming
लोकप्रियता

8.7 / 10

लेटेंसी

79ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Added Advantage and Disadvantage

Rapid account: Foxjordan
foxjordan
месяц назад

Hi all! Just a quick update to the API to add support for rolls with dis/advantage. Just add rollType to the body of the request and set it to -1 for disadvantage and 1 for advantage (anything else will just return a straight roll).

Right now it only supports these rolls with single primary die. If you have any suggestions for how to implement a roll with advantage that uses multiple primary die, I’d be interested in hearing it. I couldn’t think of a real use case for it, much less how to mathematically do it.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें