danoniplus 32.2.2 → 32.3.0

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 CHANGED
@@ -4,12 +4,12 @@
4
4
  *
5
5
  * Source by tickle
6
6
  * Created : 2018/10/08
7
- * Revised : 2023/05/26
7
+ * Revised : 2023/06/02
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 32.2.2`;
12
- const g_revisedDate = `2023/05/26`;
11
+ const g_version = `Ver 32.3.0`;
12
+ const g_revisedDate = `2023/06/02`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -2473,7 +2473,7 @@ const calcLevel = _scoreObj => {
2473
2473
  const push3Cnt = push3List.length;
2474
2474
  const calcArrowCnt = allCnt - push3Cnt - 3;
2475
2475
  const toDecimal2 = num => Math.round(num * 100) / 100;
2476
- const calcDifLevel = num => Math.max(toDecimal2(num / Math.sqrt(calcArrowCnt) * 4), 0);
2476
+ const calcDifLevel = num => calcArrowCnt > 0 ? toDecimal2(num / Math.sqrt(calcArrowCnt) * 4) : 0;
2477
2477
 
2478
2478
  const baseDifLevel = calcDifLevel(levelcount);
2479
2479
  const difLevel = toDecimal2(baseDifLevel * (allCnt - 3) / calcArrowCnt);
@@ -3136,7 +3136,7 @@ const headerConvert = _dosObj => {
3136
3136
  obj.playingX = setIntVal(_dosObj.playingX);
3137
3137
 
3138
3138
  // プレイ中クレジットを表示しないエリアのサイズ(X方向)
3139
- obj.customViewWidth = setVal(_dosObj.customViewWidth, 0, C_TYP_FLOAT);
3139
+ obj.customViewWidth = setVal(_dosObj.customViewWidth ?? _dosObj.customCreditWidth, 0, C_TYP_FLOAT);
3140
3140
 
3141
3141
  // ジャストフレームの設定 (ローカル: 0フレーム, リモートサーバ上: 1フレーム以内)
3142
3142
  obj.justFrames = (g_isLocal) ? 0 : 1;
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Source by tickle
7
7
  * Created : 2019/11/19
8
- * Revised : 2023/05/25 (v32.2.1)
8
+ * Revised : 2023/06/02 (v32.3.0)
9
9
  *
10
10
  * https://github.com/cwtickle/danoniplus
11
11
  */
@@ -1715,7 +1715,7 @@ const g_keyObj = {
1715
1715
  color14i_0_0: [2, 2, 2, 3, 3, 3, 3, 0, 1, 0, 2, 0, 1, 0],
1716
1716
  color15A_0_0: [3, 3, 3, 3, 4, 4, 4, 4, 0, 1, 0, 2, 0, 1, 0],
1717
1717
  color16i_0_0: [2, 2, 2, 3, 3, 3, 3, 1, 0, 1, 0, 2, 0, 1, 0, 1],
1718
- color17_0_0: [0, 1, 0, 1, 0, 1, 0, 1, 2, 3, 4, 3, 4, 3, 4, 3, 4],
1718
+ color17_0_0: [1, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 0, 1, 0, 1],
1719
1719
  color23_0_0: [3, 3, 3, 3, 4, 4, 4, 4, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 0, 1, 0],
1720
1720
 
1721
1721
  color5_1_0: [2, 0, 0, 0, 0],
@@ -1732,7 +1732,7 @@ const g_keyObj = {
1732
1732
 
1733
1733
  // ColorGroup - 2
1734
1734
  color9B_0_1: [4, 3, 1, 0, 2, 0, 1, 3, 4],
1735
- color17_0_1: [1, 0, 1, 0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 0, 1, 0, 1],
1735
+ color17_0_1: [0, 1, 0, 1, 0, 1, 0, 1, 2, 3, 4, 3, 4, 3, 4, 3, 4],
1736
1736
 
1737
1737
  color17_1_1: [1, 1, 1, 1, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
1738
1738
 
@@ -1753,20 +1753,20 @@ const g_keyObj = {
1753
1753
  shuffle7_0_0: [0, 0, 0, 1, 0, 0, 0],
1754
1754
  shuffle7i_0_0: [0, 0, 0, 1, 1, 1, 1],
1755
1755
  shuffle8_0_0: [0, 0, 0, 1, 0, 0, 0, 2],
1756
- shuffle9A_0_0: [0, 0, 0, 0, 1, 2, 2, 2, 2],
1756
+ shuffle9A_0_0: [0, 0, 0, 0, 1, 0, 0, 0, 0],
1757
1757
  shuffle9B_0_0: [0, 0, 0, 0, 1, 0, 0, 0, 0],
1758
1758
  shuffle9i_0_0: [0, 0, 0, 0, 1, 1, 1, 1, 1],
1759
1759
  shuffle11_0_0: [0, 0, 0, 0, 1, 1, 1, 2, 1, 1, 1],
1760
1760
  shuffle11L_0_0: [0, 0, 0, 0, 1, 1, 1, 2, 1, 1, 1],
1761
1761
  shuffle11W_0_0: [0, 0, 0, 0, 1, 1, 1, 2, 1, 1, 1],
1762
- shuffle11i_0_0: [0, 0, 1, 0, 0, 2, 3, 3, 4, 3, 3],
1762
+ shuffle11i_0_0: [0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0],
1763
1763
  shuffle12_0_0: [0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2],
1764
1764
  shuffle13_0_0: [0, 0, 0, 0, 1, 1, 1, 1, 2, 3, 3, 3, 3],
1765
1765
  shuffle14_0_0: [0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2],
1766
1766
  shuffle14i_0_0: [0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 3, 2, 2, 2],
1767
1767
  shuffle15A_0_0: [0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 3, 2, 2, 2],
1768
1768
  shuffle16i_0_0: [0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 2, 2, 2, 2],
1769
- shuffle17_0_0: [0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2],
1769
+ shuffle17_0_0: [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
1770
1770
  shuffle23_0_0: [0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4],
1771
1771
 
1772
1772
  shuffle5_1_0: [1, 0, 0, 0, 0],
@@ -1778,12 +1778,12 @@ const g_keyObj = {
1778
1778
  shuffle8_2_0: [1, 0, 0, 0, 0, 0, 0, 0],
1779
1779
 
1780
1780
  // ShuffleGroup - 2
1781
- shuffle9A_0_1: [0, 0, 0, 0, 1, 0, 0, 0, 0],
1781
+ shuffle9A_0_1: [0, 0, 0, 0, 1, 2, 2, 2, 2],
1782
1782
  shuffle11_0_1: [0, 0, 0, 0, 1, 1, 1, 2, 3, 3, 3],
1783
1783
  shuffle11L_0_1: [0, 0, 0, 0, 1, 1, 1, 2, 3, 3, 3],
1784
- shuffle11i_0_1: [0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0],
1784
+ shuffle11i_0_1: [0, 0, 1, 0, 0, 2, 3, 3, 4, 3, 3],
1785
1785
  shuffle15A_0_1: [0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 3, 4, 4, 4],
1786
- shuffle17_0_1: [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
1786
+ shuffle17_0_1: [0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2],
1787
1787
  shuffle23_0_1: [0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2],
1788
1788
 
1789
1789
  shuffle17_1_1: [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "32.2.2",
3
+ "version": "32.3.0",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {