danoniplus 33.7.5 → 33.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/js/danoni_main.js +11 -8
- package/package.json +1 -1
package/js/danoni_main.js
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Source by tickle
|
|
6
6
|
* Created : 2018/10/08
|
|
7
|
-
* Revised :
|
|
7
|
+
* Revised : 2024/03/17
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 33.7.
|
|
12
|
-
const g_revisedDate = `
|
|
11
|
+
const g_version = `Ver 33.7.7`;
|
|
12
|
+
const g_revisedDate = `2024/03/17`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -942,7 +942,7 @@ const makeColorGradation = (_colorStr, { _defaultColorgrd = g_headerObj.defaultC
|
|
|
942
942
|
const colorArray = tmpColorStr[0].split(`:`);
|
|
943
943
|
colorArray.forEach((colorCd, j) => {
|
|
944
944
|
colorArray[j] = colorCdPadding(_colorCdPaddingUse, colorToHex(colorCd.replaceAll(`0x`, `#`)));
|
|
945
|
-
if (isColorCd(
|
|
945
|
+
if (isColorCd(colorArray[j]) && colorArray[j].length === 7) {
|
|
946
946
|
colorArray[j] += alphaVal;
|
|
947
947
|
}
|
|
948
948
|
});
|
|
@@ -9411,19 +9411,22 @@ const mainInit = _ => {
|
|
|
9411
9411
|
|
|
9412
9412
|
frzOFF: (_j, _k, _cnt) => {
|
|
9413
9413
|
|
|
9414
|
-
|
|
9414
|
+
// 判定対象が自身より前のフリーズアローで、自身の判定範囲がキター(O.K.)の範囲内のとき
|
|
9415
|
+
if (g_workObj.judgFrzCnt[_j] === _k - 1 && _cnt <= g_judgObj.frzJ[g_judgPosObj.sfsf]) {
|
|
9415
9416
|
const prevFrzName = `frz${_j}_${g_workObj.judgFrzCnt[_j]}`;
|
|
9416
9417
|
const prevFrz = g_attrObj[prevFrzName];
|
|
9417
9418
|
|
|
9418
|
-
|
|
9419
|
+
// 自身より前のフリーズアローが移動中かつキター(O.K.)の領域外のとき
|
|
9420
|
+
if (prevFrz.isMoving && prevFrz.cnt < (-1) * g_judgObj.frzJ[g_judgPosObj.kita]) {
|
|
9419
9421
|
|
|
9420
|
-
//
|
|
9421
|
-
if (prevFrz.cnt >= (-1) * g_judgObj.frzJ[g_judgPosObj.iknai]) {
|
|
9422
|
+
// 自身より前のフリーズアローが未判定の場合、強制的に枠外判定を行う
|
|
9423
|
+
if (prevFrz.cnt >= (-1) * g_judgObj.frzJ[g_judgPosObj.iknai] && !prevFrz.judgEndFlg) {
|
|
9422
9424
|
judgeIknai(prevFrz.cnt);
|
|
9423
9425
|
if (g_headerObj.frzStartjdgUse) {
|
|
9424
9426
|
judgeUwan(prevFrz.cnt);
|
|
9425
9427
|
}
|
|
9426
9428
|
}
|
|
9429
|
+
// 自身より前のフリーズアローを削除して判定対象を自身に変更 (g_workObj.judgFrzCnt[_j]をカウントアップ)
|
|
9427
9430
|
judgeObjDelete.frz(_j, prevFrzName);
|
|
9428
9431
|
}
|
|
9429
9432
|
}
|