This file contains 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
{ | |
id: { | |
// 古鷹 | |
59: { | |
// 20.3cm(2号)連装砲 | |
90: [{ | |
cond: { | |
'sR': 1 | |
}, | |
houg: 3, |
This file contains 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
Optional = Java.type("java.util.Optional") | |
DataType = Java.type("logbook.data.DataType") | |
GlobalContext = Java.type("logbook.data.context.GlobalContext") | |
ApplicationMain = Java.type("logbook.gui.ApplicationMain") | |
function update(type, data) { | |
var json = data.getJsonObject() | |
switch (type) { | |
case DataType.START: | |
var map = Optional.ofNullable(GlobalContext.sortieMap).map(function (map) { |
This file contains 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
{ | |
"日時": { | |
"開始": "20181103000000" | |
"終了": "20200101000000" | |
} | |
"種別":"砲撃戦" | |
"出力" : { | |
"攻撃艦":"自軍" | |
"攻撃艦.疲労" : {"以下" : 52,"以上" : 33} | |
"自陣形" : "単縦陣" |
This file contains 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
{ | |
"日時": { | |
"開始": "20181027000000" | |
"終了": "20200101000000" | |
} | |
"種別":"砲撃戦" | |
"出力" : { | |
"攻撃艦":"自軍" | |
"攻撃艦.疲労" : {"以下" : 52,"以上" : 33} | |
"自陣形" : "単縦陣" |
This file contains 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
const fs = require('fs-extra') | |
const csvSync = require('csv-parse/lib/sync') | |
const iconv = require('iconv-lite') | |
const SHIP_DATA = {} | |
const STYPE_DATA = {} | |
const ITEM_DATA = {} | |
fs.readFile('START2.json','utf8',(err, data) => { | |
if (err) reject(err) |
This file contains 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
const fs = require('fs-extra') | |
const ITEM_DATA = {} | |
const ITEM_TYPE2_DATA = {} | |
const ITEM_TYPE3_DATA = { | |
1: { name: '小口径主砲', color:'#fcc' }, | |
2: { name: '中口径主砲', color:'#fcc' }, | |
3: { name: '大口径主砲', color:'#fcc' }, | |
4: { name: '副砲', color:'#ff9' }, | |
5: { name: '魚雷', color:'#9cf' }, |
This file contains 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
/** | |
* | |
* @param {ShipDto} ship | |
*/ | |
export function fitbonus (ship) { | |
const items = ship.items.filter(item => item) | |
switch (ship.ctype) { | |
case 1: // 綾波型 | |
// #region 単体ボーナス | |
// 綾波型、暁型、初春型:12.7cm連装砲B型改二 |
This file contains 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
const getJSON = require('get-json') | |
const Jimp = require(`jimp`) | |
const mapAreaId = process.argv[2] | |
const mapInfoNo = process.argv[3] | |
const URL = `http://203.104.209.71/kcs2/resources/map/${zeroPadding(mapAreaId, 3)}/${zeroPadding(mapInfoNo, 2)}` | |
const GAUGE_JSON_URL = `http://203.104.209.71/kcs2/resources/gauge/${zeroPadding(mapAreaId, 3)}${zeroPadding(mapInfoNo, 2)}.json` | |
const GAUGE_IMAGE_URL = `http://203.104.209.71/kcs2/resources/gauge/` |
This file contains 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
{ | |
"日時": { | |
"開始": "20171212000000" | |
"終了": "20190101000000" | |
} | |
"種別":"砲撃戦" | |
"出力" : { | |
"攻撃艦":"自軍" | |
"攻撃艦.疲労" : {"以下" : 52,"以上" : 33} | |
"自陣形" : "単縦陣" |
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 41 columns, instead of 38. in line 5.
This file contains 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
艦船ID,艦船名,耐久初期,耐久最大,火力初期,火力最大,雷装初期,雷装最大,対空初期,対空最大,装甲初期,装甲最大,対潜初期下限,対潜初期上限,対潜最大,回避初期下限,回避初期上限,回避最大,索敵初期下限,索敵初期上限,索敵最大,運初期,運最大,射程,装備1,装備2,装備3,装備4,装備5,機数1,機数2,機数3,機数4,機数5,ドロップ説明,図鑑説明,リソース名,画像ver,ボイスver,母港ボイスver,元衣装ID | |
1,睦月,13,24,6,29,18,59,7,29,5,18,16,16,39,37,37,79,4,4,17,12,49,1,1,37,-1,-1,-1,0,0,0,0,0,睦月です。<br>はりきって、まいりましょー!,帝国海軍の駆逐艦で初めて大型で強力な61cm魚雷を搭載しました、睦月です!<br>旧式ながら、第一線で頑張ったのです!,snohitatusbk,23,19,801,-1 | |
2,如月,13,24,6,29,18,49,7,29,5,18,16,16,39,37,37,69,4,4,17,10,49,1,1,-1,-1,-1,-1,0,0,0,0,0,如月と申します。<br>おそばに置いてくださいね。,睦月型駆逐艦2番艦の如月と申します。<br>ウェーク島では五月蠅いF4F戦闘機の攻撃を受けながら奮戦しました。<br>いやん、ほんと、髪の毛が潮風で痛んじゃう……。,wujywbyjntbp,25,20,801,-1 | |
3,,0,0,0,0,0,0,0,0,0,0,24,24,69,38,38,69,8,8,39,0,0,0,4,-1,-1,-1,-1,0,0,0,0,0,,,mhqqhhvvpzxg,1,1,1,-1 | |
4,,0,0,0,0,0,0,0,0,0,0,0,9999,9999,0,9999,9999,0,9999,9999,0,0,0,null,null,null,null,null,null,null,null,null,null,null,null,rzgndzraoddu,1,1,1,-1 | |
5,,0,0,0,0,0,0,0,0,0,0,0,9999,9999,0,9999,9999,0,9999,9999,0,0,0,null,null,null,null,null,null,null,null,null,null,null,null,hbhkiyykheeq,1 |