esnya/bcdice-js

SW_2_5 rolling fail

Opened this issue · 1 comments

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.

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 @