danoniplus 29.4.1 → 29.4.2
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 +17 -3
- 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 : 2023/
|
|
7
|
+
* Revised : 2023/02/26
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 29.4.
|
|
12
|
-
const g_revisedDate = `2023/
|
|
11
|
+
const g_version = `Ver 29.4.2`;
|
|
12
|
+
const g_revisedDate = `2023/02/26`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
15
15
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -3575,6 +3575,12 @@ const keysConvert = (_dosObj, { keyExtraList = _dosObj.keyExtraList.split(`,`) }
|
|
|
3575
3575
|
g_keyObj[`divMax${ptnName}`] = setVal(tmpDivPtn[1], -1, C_TYP_FLOAT);
|
|
3576
3576
|
}
|
|
3577
3577
|
}
|
|
3578
|
+
} else if (g_keyObj[`chara${newKey}_0`] !== undefined) {
|
|
3579
|
+
// 特に指定が無い場合はcharaX_Yの配列長で決定
|
|
3580
|
+
for (let k = 0; k < tmpMinPatterns; k++) {
|
|
3581
|
+
const ptnName = `${newKey}_${k + dfPtnNum}`;
|
|
3582
|
+
g_keyObj[`div${ptnName}`] = g_keyObj[`chara${newKey}_0`].length;
|
|
3583
|
+
}
|
|
3578
3584
|
}
|
|
3579
3585
|
|
|
3580
3586
|
// ステップゾーン位置 (posX_Y)
|
|
@@ -3613,6 +3619,14 @@ const keysConvert = (_dosObj, { keyExtraList = _dosObj.keyExtraList.split(`,`) }
|
|
|
3613
3619
|
|
|
3614
3620
|
// シャッフルグループ (shuffleX_Y)
|
|
3615
3621
|
newKeyTripleParam(newKey, `shuffle`);
|
|
3622
|
+
if (g_keyObj[`shuffle${newKey}_${dfPtnNum}_0`] === undefined) {
|
|
3623
|
+
// 特に指定が無い場合はcolorX_Yの配列長で決定
|
|
3624
|
+
for (let k = 0; k < tmpMinPatterns; k++) {
|
|
3625
|
+
const ptnName = `${newKey}_${k + dfPtnNum}`;
|
|
3626
|
+
g_keyObj[`shuffle${ptnName}_0`] = [...Array(g_keyObj[`color${ptnName}`].length)].fill(0);
|
|
3627
|
+
g_keyObj[`shuffle${ptnName}`] = structuredClone(g_keyObj[`shuffle${ptnName}_0`]);
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3616
3630
|
|
|
3617
3631
|
// スクロールパターン (scrollX_Y)
|
|
3618
3632
|
// |scroll(newKey)=Cross::1,1,-1,-1,-1,1,1/Split::1,1,1,-1,-1,-1,-1$...|
|