Skip to content

Commit

Permalink
PTバグ修正、7-5特効修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nishi-kuma committed Feb 13, 2023
1 parent 1ef18d6 commit c5fa031
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions UnexpectedDamage.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Ship = Java.type("logbook.internal.Ship")
//#region 全般

/** バージョン */
var VERSION = 2.84
var VERSION = 2.85
/** バージョン確認URL */
var UPDATE_CHECK_URL = "https://api.github.com/repos/Nishisonic/UnexpectedDamage/releases/latest"
/** ファイルの場所 */
Expand Down Expand Up @@ -1936,10 +1936,6 @@ var getMultiplySlayerBonus = function (attacker, defender) {
* @return {Number} 倍率
*/
var getAddSlayerBonus = function (attacker, defender) {
switch (true) {
case isPtImpPack(defender): // PT小鬼群
return Math.sqrt(getPostcapValue(this.getPrecapPower(), this.CAP_VALUE)) + 10
}
return 0
}

Expand Down Expand Up @@ -2048,7 +2044,7 @@ var getMapBonus = function (mapCell, attacker, defender) {
"りゅうじょう", "ちとせ", "みょうこう", "なち",
"あしがら", "はぐろ", "じんつう", "なか",
"デ・ロイテル", "まつかぜ", "あけぼの", "さざなみ",
"うしお", "いかずち", "いなづま", "むらさめ",
"うしお", "いかづち", "いなづま", "むらさめ",
"ゆうだち", "はるさめ", "さみだれ", "やまかぜ",
"かわかぜ", "あさぐも", "みねぐも", "はつかぜ",
"ゆきかぜ", "あまつかぜ", "ときつかぜ", "みずほ"
Expand All @@ -2075,7 +2071,6 @@ var getMapBonus = function (mapCell, attacker, defender) {
if (bonusShipsC.indexOf(yomi) >= 0) {
return 1.06
}

}
// Gマス、Kマス、Lマス、Mマス
if ([7, 11, 14, 15, 20].indexOf(mapCell.map[2]) >= 0) {
Expand Down
2 changes: 1 addition & 1 deletion drop_unexpectedDamage.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* 異常ダメージ検知
* @version 2.8.4
* @version 2.8.5
* @author Nishikuma
*/

Expand Down

0 comments on commit c5fa031

Please sign in to comment.