MAX_EXPLOSIONS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How many more dice one exploding die may throw. The chain stops there and the last die is read as it lies, so a roll always ends and its odds are the exact odds of the dice as thrown. A d6 gets this far once in 60 million dice.
インポート
import { MAX_EXPLOSIONS } from "@johnmorrisdotca/korokoro";
定義
const MAX_EXPLOSIONS: 10 = 10
例
import { MAX_EXPLOSIONS } from "@johnmorrisdotca/korokoro";
console.log(MAX_EXPLOSIONS);10出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。