DiceRoller

免费增值
通过 Jordan | 已更新 hace 6 días | Gaming
人气

8.7 / 10

延迟

79ms

服务等级

100%

Health Check

N/A

返回所有讨论

Added Advantage and Disadvantage

Rapid account: Foxjordan
foxjordan
hace un mes

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.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论