danoniplus 42.5.1 → 42.5.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.
Files changed (2) hide show
  1. package/js/danoni_main.js +12 -6
  2. 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 : 2025/08/25
7
+ * Revised : 2025/08/27
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 42.5.1`;
12
- const g_revisedDate = `2025/08/25`;
11
+ const g_version = `Ver 42.5.2`;
12
+ const g_revisedDate = `2025/08/27`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -12490,7 +12490,13 @@ const mainInit = () => {
12490
12490
  // フリーズアロー色の設定
12491
12491
  // - 通常時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Normal / NormalShadow / NormalBar
12492
12492
  // - ヒット時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Hit / HitShadow / HitBar
12493
- g_typeLists.frzColor.forEach(val => g_attrObj[frzName][val] = g_workObj[`${_name}${val}Colors`][_j]);
12493
+ // - ヒット時(矢印枠/矢印塗りつぶし/帯別の生成時全体色): g_attrObj[frzName].HitAll / HitShadowAll / HitBarAll
12494
+ g_typeLists.frzColor.forEach(val => {
12495
+ g_attrObj[frzName][val] = g_workObj[`${_name}${val}Colors`][_j];
12496
+ if (val.startsWith(`Hit`)) {
12497
+ g_attrObj[frzName][`${val}All`] = g_workObj[`${_name}${val}ColorsAll`][_j];
12498
+ }
12499
+ });
12494
12500
  arrowSprite[g_workObj.dividePos[_j]].appendChild(frzRoot);
12495
12501
  let shadowColor = _shadowColor === `Default` ? _normalColor : _shadowColor;
12496
12502
 
@@ -13242,9 +13248,9 @@ const changeHitFrz = (_j, _k, _name, _difFrame = 0) => {
13242
13248
  * @returns {string}
13243
13249
  */
13244
13250
  const getColor = (_type) => {
13245
- const cColor = g_workObj[`${_name}${_type}Colors`][_j];
13246
13251
  const cColorAll = g_workObj[`${_name}${_type}ColorsAll`][_j];
13247
- return currentFrz[_type] !== cColor && cColorAll === cColor ? cColorAll : currentFrz[_type];
13252
+ return currentFrz[_type] !== cColorAll && currentFrz[`${_type}All`] !== cColorAll
13253
+ ? cColorAll : currentFrz[_type];
13248
13254
  };
13249
13255
 
13250
13256
  const tmpHitColor = getColor(`Hit`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "42.5.1",
3
+ "version": "42.5.2",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "./js/danoni_main.js",
6
6
  "scripts": {