esnya / bcdice-js

[DEPRECATED] BCDice for JavaScript (Browser/Node.js)
MIT License
12 stars 3 forks source link

SwordWorld2_5 サイコロ #11

Open wwingYu opened 5 years ago

wwingYu commented 5 years ago

こんにちは、bcdice-jsの使用者です。 このプロジェクトはとても便利だと思います。 しかし、node.jsに対するK40+24@8$12r10gfの結果は怪しい。 そして、ダイス目の修正は働いていないようです。 r10が含まれていると、結果は常に1です。 bcdice.setGameByTitle('SwordWorld2_5'); bcdice.setMessage('K20R10'); console.log('K20R10', bcdice.dice_command());

(初めの時がSwordWorldを使用したら大丈夫です bcdice.setGameByTitle('SwordWorld'); bcdice.setMessage('K40+24@8$12r10gf '); console.log('K40+24@8$12r10gf ', bcdice.dice_command());)