npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

aaci-prop

v1.2.26

Published

aaci-prop [![npm](https://img.shields.io/npm/v/aaci-prop)](https://www.npmjs.com/package/aaci-prop) [![License](https://img.shields.io/npm/l/express.svg)](https://github.com/Nishisonic/aaci-prop/blob/master/LICENSE) ====

Downloads

113

Readme

aaci-prop npm License

艦これ対空カットインの確率を返します

Install

$ npm install aaci-prop

Usage

import prop from "aaci-prop";

const tmp = prop([{ shipId: 1, equipmentIds: [122, 122, 27] }]);
console.log(tmp);
// [
//   { kind: 5, priority: 27, fixed: 4, prop: 1.5, value: 55, rate: 0.55 },
//   {
//     kind: 8,
//     priority: 33,
//     fixed: 4,
//     prop: 1.4,
//     value: 50,
//     rate: 0.22499999999999998
//   }
// ]

Tips

対空カットインの確率について

TsunDB の統計結果を元にした確率を採用しています。
艦これ改では定数を 101 で割った結果を使用していますが、このライブラリでは 100 で割った結果を使用しています。
優先度ソース元:対空カットイン発動優先調査 公開用

| Kind | 優先度 | 固定 | 割合 | 確率 | 発動艦 | | :--: | :----: | :--: | :--: | :--: | --------------------------------- | | 1 | 11 | 7 | 1.7 | 65 | 秋月型 | | 2 | 16 | 6 | 1.7 | 55 | 秋月型 | | 3 | 26 | 4 | 1.6 | 50 | 秋月型 | | 4 | 15 | 6 | 1.5 | 52 | | | 5 | 27 | 4 | 1.5 | 50 | 秋月型発動不可 | | 6 | 28 | 4 | 1.45 | 40 | | | 7 | 36 | 3 | 1.35 | 45 | 秋月型発動不可 | | 8 | 33 | 4 | 1.4 | 50 | 秋月型発動不可 | | 9 | 45 | 2 | 1.3 | 40 | | | 10 | 6 | 8 | 1.65 | 60 | 摩耶改二 | | 11 | 9 | 6 | 1.5 | 55 | 摩耶改二 | | 12 | 40 | 3 | 1.25 | 45 | | | 13 | 34 | 4 | 1.35 | 35 | 摩耶改二発動不可 | | 14 | 25 | 4 | 1.45 | 63 | 五十鈴改二 | | 15 | 35 | 3 | 1.3 | 56 | 五十鈴改二 | | 16 | 24 | 4 | 1.4 | 62 | 霞改二乙,夕張改二 | | 17 | 42 | 2 | 1.25 | 55 | 霞改二乙 | | 18 | 43 | 2 | 1.2 | 60 | 皐月改二 | | 19 | 21 | 5 | 1.45 | 58 | 鬼怒改二 | | 20 | 37 | 3 | 1.25 | 65 | 鬼怒改二 | | 21 | 22 | 5 | 1.45 | 60 | 由良改二 | | 22 | 44 | 2 | 1.2 | 59 | 文月改二 | | 23 | 46 | 1 | 1.05 | 80 | UIT-25,伊 504 | | 24 | 38 | 3 | 1.25 | 54 | 龍田改二 | | 25 | 10 | 7 | 1.55 | 60 | 伊勢型改(二) | | 26 | 14 | 6 | 1.4 | 60 | 大和型改二(重) | | 27 | 19 | 5 | 1.55 | 55 | 大淀改 | | 28 | 29 | 4 | 1.4 | 55 | 伊勢型改(二),武蔵改(二) | | 29 | 23 | 5 | 1.55 | 60 | 浜風乙改,磯風乙改 | | 30 | 32 | 3 | 1.3 | 44 | 天龍改二,Gotland 改,Gotland andra | | 31 | 41 | 2 | 1.25 | 53 | 天龍改二 | | 32 | 39 | 3 | 1.2 | 51 | 英国艦,金剛型改二(乙/丙) | | 33 | 31 | 3 | 1.35 | 44 | Gotland 改,Gotland andra | | 34 | 12 | 7 | 1.6 | 56 | Fletcher 級 | | 35 | 17 | 6 | 1.55 | 53 | Fletcher 級 | | 36 | 18 | 6 | 1.55 | 53 | Fletcher 級 | | 37 | 30 | 4 | 1.45 | 44 | Fletcher 級 | | 38 | 1 | 10 | 1.85 | 59 | Atlanta 級 | | 39 | 2 | 10 | 1.7 | 56 | Atlanta 級 | | 40 | 3 | 10 | 1.7 | 55 | Atlanta 級 | | 41 | 5 | 9 | 1.65 | 54 | Atlanta 級 | | 42 | 4 | 10 | 1.65 | 64 | 大和型改二(重) | | 43 | 7 | 8 | 1.6 | 59 | 大和型改二(重) | | 44 | 13 | 6 | 1.6 | 54 | 大和型改二(重) | | 45 | 20 | 5 | 1.55 | 50 | 大和型改二(重) | | 46 | 8 | 8 | 1.55 | 60 | 榛名改二乙 |

バージョン命名

vX.Y.Z

  • X … 引数変更(例:改修値で対空カットイン確率が変わる仕様変更が起こった)
  • Y … ソース変更(対空カットイン追加/確率修正等)
  • Z … START2(マスターデータ)更新 or 本体に影響しない修正(README変更等)