danoniplus 41.4.7 → 41.4.8

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 41.4.7`;
12
- const g_revisedDate = `2025/08/25`;
11
+ const g_version = `Ver 41.4.8`;
12
+ const g_revisedDate = `2025/08/27`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -12378,7 +12378,13 @@ const mainInit = () => {
12378
12378
  // フリーズアロー色の設定
12379
12379
  // - 通常時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Normal / NormalShadow / NormalBar
12380
12380
  // - ヒット時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Hit / HitShadow / HitBar
12381
- g_typeLists.frzColor.forEach(val => g_attrObj[frzName][val] = g_workObj[`${_name}${val}Colors`][_j]);
12381
+ // - ヒット時(矢印枠/矢印塗りつぶし/帯別の生成時全体色): g_attrObj[frzName].HitAll / HitShadowAll / HitBarAll
12382
+ g_typeLists.frzColor.forEach(val => {
12383
+ g_attrObj[frzName][val] = g_workObj[`${_name}${val}Colors`][_j];
12384
+ if (val.startsWith(`Hit`)) {
12385
+ g_attrObj[frzName][`${val}All`] = g_workObj[`${_name}${val}ColorsAll`][_j];
12386
+ }
12387
+ });
12382
12388
  arrowSprite[g_workObj.dividePos[_j]].appendChild(frzRoot);
12383
12389
  let shadowColor = _shadowColor === `Default` ? _normalColor : _shadowColor;
12384
12390
 
@@ -13106,9 +13112,9 @@ const changeHitFrz = (_j, _k, _name, _difFrame = 0) => {
13106
13112
  * @returns {string}
13107
13113
  */
13108
13114
  const getColor = (_type) => {
13109
- const cColor = g_workObj[`${_name}${_type}Colors`][_j];
13110
13115
  const cColorAll = g_workObj[`${_name}${_type}ColorsAll`][_j];
13111
- return currentFrz[_type] !== cColor && cColorAll === cColor ? cColorAll : currentFrz[_type];
13116
+ return currentFrz[_type] !== cColorAll && currentFrz[`${_type}All`] !== cColorAll
13117
+ ? cColorAll : currentFrz[_type];
13112
13118
  };
13113
13119
 
13114
13120
  const tmpHitColor = getColor(`Hit`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "41.4.7",
3
+ "version": "41.4.8",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "./js/danoni_main.js",
6
6
  "scripts": {