MEIKYUU_ARROW_LEVELS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The fixed numbered arrow recipes and their measured effort.
インポート
import { MEIKYUU_ARROW_LEVELS } from "@johnmorrisdotca/meikyuu/levels";
定義
const MEIKYUU_ARROW_LEVELS: readonly MeikyuuArrowLevel[] = MEIKYUU_ARROW_ROWS.map(([code, effort], index) => ({ kind: "arrows", number: index + 1, code, effort, rating: Math.min(100, Math.max(1, Math.round(1 + (99 * Math.log(effort / 8)) / Math.log(800 / 8)))), recipe: parsed(code, parseArrowRecipe) }))
例
import { MEIKYUU_ARROW_LEVELS } from "@johnmorrisdotca/meikyuu/levels";
console.log(MEIKYUU_ARROW_LEVELS.length);300出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。