MAX_REROLLS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How many times one die is thrown again by a reroll-until (r<). After
that it stands as it lies, in the roll and in the odds alike. Such a reroll
may match at most half a die's faces, so at the very worst one die in a
thousand gets this far; a d6 rerolling its 1s does once in 60 million.
インポート
import { MAX_REROLLS } from "@johnmorrisdotca/korokoro";
定義
const MAX_REROLLS: 10 = 10
例
import { MAX_REROLLS } from "@johnmorrisdotca/korokoro";
console.log(MAX_REROLLS);10出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。