esnya / bcdice-js

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

SW_2_5 rolling fail #10

Open zeteticl opened 5 years ago

zeteticl commented 5 years ago

Hi, i am the user of bcdice-js. Thank you for your project. It is very useful. But I have try K40+24@8$12r10gf on node.js it just return 1 and ダイス目の修正 seem dont work.

zeteticl commented 5 years ago

input above is fine bcdice.setGameByTitle('SwordWorld2_5'); bcdice.setMessage('K20'); console.log('K20', bcdice.dice_command());

but return 1 if enter with r10 bcdice.setGameByTitle('SwordWorld2_5'); bcdice.setMessage('K20R10'); console.log('K20R10', bcdice.dice_command());

if use swordWorld is find

bcdice.setGameByTitle('SwordWorld'); bcdice.setMessage('K40+24@8$12r10gf '); console.log('K40+24@8$12r10gf ', bcdice.dice_command()) @ukatama @