Skip to content

Instantly share code, notes, and snippets.

View Nishisonic's full-sized avatar

にしくま Nishisonic

  • Japan
View GitHub Profile
/**
* 異常ダメージ検知
* @version 2.0.1β
* @author Nishikuma
*/
//#region Library
load("script/ScriptData.js")
load("script/UnexpectedDamage.js")
ComparableArrayType = Java.type("java.lang.Comparable[]")
ComparableArrayType = Java.type("java.lang.Comparable[]");
function header() {
return ["特殊攻撃"];
}
function begin() {}
function body(battle) {
var ret = new ComparableArrayType(1);
@Nishisonic
Nishisonic / update_tsunDB.js
Last active April 13, 2020 11:06
【拡張版script】TsunDB Client
load("script/ScriptData.js");
data_prefix = "TsunDB";
BufferedReader = Java.type("java.io.BufferedReader");
InputStreamReader = Java.type("java.io.InputStreamReader");
OutputStreamWriter = Java.type("java.io.OutputStreamWriter");
URL = Java.type("java.net.URL");
Collectors = Java.type("java.util.stream.Collectors");
GlobalContext = Java.type("logbook.data.context.GlobalContext");
DataType = Java.type("logbook.data.DataType");
@Nishisonic
Nishisonic / update_poiDB.js
Last active March 2, 2020 16:50
【拡張版script】PoiDB Client
load("script/ScriptData.js");
data_prefix = "PoiDB";
BufferedReader = Java.type("java.io.BufferedReader");
InputStreamReader = Java.type("java.io.InputStreamReader");
OutputStreamWriter = Java.type("java.io.OutputStreamWriter");
URL = Java.type("java.net.URL");
Collectors = Java.type("java.util.stream.Collectors");
GlobalContext = Java.type("logbook.data.context.GlobalContext");
DataType = Java.type("logbook.data.DataType");
###############################################################################
# WHEN KC IS DED
# I'M PRETTY SURE THIS IS A CONSPIRACY
#
# This config file is adapted from Chami (kc.piro.moe), which used a private
# server that cannot be exposed to the public. I used a public server from
# VPNGate (https://www.vpngate.net/en/) for this config.
#
# This is configured to (hopefully) route ONLY Kancolle traffic to a JP server
# and not touch anything else.

λ杯考察シート

前提

  • 絶対しとくこと
    • ドロップカット
    • 音カット
    • プリセット/基地の準備
  • 出来るなら
    • カンストによる経験値カット
    • キャッシュ先読み
  • その他
@Nishisonic
Nishisonic / update_safety.js
Last active September 19, 2024 00:07
【拡張版script】轟沈セーフティサポート
DataType = Java.type("logbook.data.DataType");
GlobalContext = Java.type("logbook.data.context.GlobalContext");
ApplicationMain = Java.type("logbook.gui.ApplicationMain");
/**
* @param {logbook.data.DataType} type
* @param {logbook.data.Data} data
*/
function update(type, data) {
var json = data.jsonObject.api_data;
//script読み込み
load("script/ScriptData.js")
load("script/UnexpectedDamage.js")
//Import部分
SimpleDateFormat = Java.type("java.text.SimpleDateFormat")
Optional = Java.type("java.util.Optional")
ConcurrentHashMap = Java.type("java.util.concurrent.ConcurrentHashMap")
IntStream = Java.type("java.util.stream.IntStream")
FillLayout = Java.type("org.eclipse.swt.layout.FillLayout")
@Nishisonic
Nishisonic / E-4 特効(Vマス:ボス)
Created June 23, 2019 01:33
対陸上敵、PTは弾いてます。昼夜混同
CLT 大井改 - 1.02 ~ 1.52 (1x)
CLT 北上改 - 1 ~ 1.27 (1x)
CA 青葉 - 1 ~ 1.02 (3x)
CA 高雄 - 1 ~ 1.02 (2x)
CA 利根 - 1.29 ~ 1.21 (4x)
CAV 最上改 - 1.19 ~ 0.96 (1168x)
CV 赤城 - 1.51 ~ 1.93 (1x)
CV 加賀 - 1.28 ~ 1.3 (2x)
FBB 比叡 - 1.13 ~ 1.17 (3x)
CV 蒼龍 - 1.26 ~ 1.3 (2x)
// Loading of general data/functions.
const fs = require('fs'),
{
Client
} = require('pg')
const semver = require('semver')
global.currentDir = __dirname
const FILE_NAME = 'aaci_tsun.csv'