This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 遊戯王 CARD DATABASE でデッキの事故率を計算するスクリプト | |
* | |
* ■--- 使い方 ----- | |
* 1. Chromeから遊戯王 CARD DATABASEへアクセスし、事故率を調べたいデッキの詳細ページを開きます | |
* (URL例: https://www.db.yugioh-card.com/yugiohdb/member_deck.action?ope=1&cgid=3f193ef337a0999b4d57f57661d2daf8&dno=1&request_locale=ja ) | |
* 2. デベロッパーツールのコンソールを開き、このスクリプトの全文をコピペして流し込みます | |
* 3. 画面の右上に出現したボタンをクリックすると、初動に必要なカードを設定する画面が開きます | |
* 4. 任意の行の+マークをクリックし、初動に必要なカードを設定します。設定が完了したら「次へ」ボタンを押してください | |
* 5. 画面に従って計算を開始すると、初動札を初手で握れる確率が計算されます。ついでに指名者系などのうらら対策も合わせて握れていれば、そのパターンの確率も計算されます。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"文字コード指定 | |
set encoding=utf-8 "基本はUTF-8を使う | |
set fileencodings=utf-8,cp932,euc-jp | |
set fileformats=unix,dos,mac | |
"フォント設定 | |
set guifont=HackGenNerd:h9,MS_Gothic:h9 | |
fun! s:AuBufEnter() |