-
dicebot/testdata/DiceBot.txtを読み込み、含まれているテストデータを使用してテストを行う。
-
https://github.com/bcdice/BCDice/blob/v2.03.01/docs/README.txt
> 加算ロールの結果に条件式で目標値を指定して、ゲーム固有の成功度判定を自動表示することができます。現在は"="のみ対応。判定のためにはゲーム設定を行う必要があります。成功度を必要としない成功か失敗のみの判定は、ゲーム設定無しでも出来ます。
基本的には比較演算子…
-
#10 の通り。
テストコードを追加してそれぞれなんとかする方法を探す。
各システムのあり得るものをちゃんと調べないとだめぽい。
-
ダイスロール結果を記録し、中置表記でそれらを表示できるノードを作る。
最終的に出るメッセージは以下のようなもの。
```
DiceBot : (3D6/2+1D6) > 3[1,2,4]+5[5] > 8
```
これは
```
DiceBot : (入力された式の中置表記) > 値決定後の中置表記 > 評価結果
```
と表せる。真ん中の段階で、振られたダイ…
-
Screenshot of error.
http://prntscr.com/le2hem
Details section of error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
********…
-
其他的dicebot可以多次骰点,骰3次(1d20+4)就是.r 3#1d20+4
请问这个骰子有这种功能吗?我看了一遍说明似乎没有看到。
如果没有的话能否加进去呢?谢谢!
-
您好,不知道相關建議在這裡提出恰不恰當,如有冒昧還請多包涵
只是單純認為 **10d100
-
抽象構文木の項の書換えおよび評価によって結果のメッセージを生成する。以下では `nDx` や `[m...n]` といったランダムに変化する部分を「可変ノード」と呼ぶ。
1. 可変ノードの引数を評価して整数に変換し、その結果の中置表記を生成する。
2. 可変ノードの値を確定させる段階で止める評価を行い、その結果の中置表記を生成する。
3. 最後まで評価を行い、最終的な評価結果を文字列に変…
-
RerollDiceに未定義動作およびREADMEの説明と反する挙動があるため修正が必要。
## READMEでの説明
> ・個数振り足しロール (xRn)
ダイスをバラバラにロールして、その成功数の個数分さらにロールして成功度を
加算するロール(天羅万象など)にも対応しました。
振り足し回数はゲーム設定で対応になっています。(デフォルトは無限)
B…
-
Hi,
I've noticed that rolls doesn't seem random.
I've checked `roll.go` file and I've noticed that you're missing `Seed` call? Apparently you should seed `rand` to minimize sequence and pattern…