danoniplus 28.6.5 → 28.6.6
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 28.6.
|
|
12
|
-
const g_revisedDate = `2023/
|
|
11
|
+
const g_version = `Ver 28.6.6`;
|
|
12
|
+
const g_revisedDate = `2023/02/26`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
15
15
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -3561,6 +3561,12 @@ const keysConvert = (_dosObj, { keyExtraList = _dosObj.keyExtraList.split(`,`) }
|
|
|
3561
3561
|
g_keyObj[`divMax${ptnName}`] = setVal(tmpDivPtn[1], -1, C_TYP_FLOAT);
|
|
3562
3562
|
}
|
|
3563
3563
|
}
|
|
3564
|
+
} else if (g_keyObj[`chara${newKey}_0`] !== undefined) {
|
|
3565
|
+
// 特に指定が無い場合はcharaX_Yの配列長で決定
|
|
3566
|
+
for (let k = 0; k < tmpMinPatterns; k++) {
|
|
3567
|
+
const ptnName = `${newKey}_${k + dfPtnNum}`;
|
|
3568
|
+
g_keyObj[`div${ptnName}`] = g_keyObj[`chara${newKey}_0`].length;
|
|
3569
|
+
}
|
|
3564
3570
|
}
|
|
3565
3571
|
|
|
3566
3572
|
// ステップゾーン位置 (posX_Y)
|
|
@@ -3599,6 +3605,14 @@ const keysConvert = (_dosObj, { keyExtraList = _dosObj.keyExtraList.split(`,`) }
|
|
|
3599
3605
|
|
|
3600
3606
|
// シャッフルグループ (shuffleX_Y)
|
|
3601
3607
|
newKeyTripleParam(newKey, `shuffle`);
|
|
3608
|
+
if (g_keyObj[`shuffle${newKey}_${dfPtnNum}_0`] === undefined) {
|
|
3609
|
+
// 特に指定が無い場合はcolorX_Yの配列長で決定
|
|
3610
|
+
for (let k = 0; k < tmpMinPatterns; k++) {
|
|
3611
|
+
const ptnName = `${newKey}_${k + dfPtnNum}`;
|
|
3612
|
+
g_keyObj[`shuffle${ptnName}_0`] = [...Array(g_keyObj[`color${ptnName}`].length)].fill(0);
|
|
3613
|
+
g_keyObj[`shuffle${ptnName}`] = structuredClone(g_keyObj[`shuffle${ptnName}_0`]);
|
|
3614
|
+
}
|
|
3615
|
+
}
|
|
3602
3616
|
|
|
3603
3617
|
// スクロールパターン (scrollX_Y)
|
|
3604
3618
|
// |scroll(newKey)=Cross::1,1,-1,-1,-1,1,1/Split::1,1,1,-1,-1,-1,-1$...|
|