danoniplus 39.8.7 → 39.8.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.
- package/js/danoni_main.js +12 -6
- 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/
|
|
7
|
+
* Revised : 2025/08/27
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 39.8.
|
|
12
|
-
const g_revisedDate = `2025/08/
|
|
11
|
+
const g_version = `Ver 39.8.8`;
|
|
12
|
+
const g_revisedDate = `2025/08/27`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -11271,7 +11271,13 @@ const mainInit = () => {
|
|
|
11271
11271
|
// フリーズアロー色の設定
|
|
11272
11272
|
// - 通常時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Normal / NormalShadow / NormalBar
|
|
11273
11273
|
// - ヒット時 (矢印枠/矢印塗りつぶし/帯): g_attrObj[frzName].Hit / HitShadow / HitBar
|
|
11274
|
-
|
|
11274
|
+
// - ヒット時(矢印枠/矢印塗りつぶし/帯別の生成時全体色): g_attrObj[frzName].HitAll / HitShadowAll / HitBarAll
|
|
11275
|
+
g_typeLists.frzColor.forEach(val => {
|
|
11276
|
+
g_attrObj[frzName][val] = g_workObj[`${_name}${val}Colors`][_j];
|
|
11277
|
+
if (val.startsWith(`Hit`)) {
|
|
11278
|
+
g_attrObj[frzName][`${val}All`] = g_workObj[`${_name}${val}ColorsAll`][_j];
|
|
11279
|
+
}
|
|
11280
|
+
});
|
|
11275
11281
|
arrowSprite[g_workObj.dividePos[_j]].appendChild(frzRoot);
|
|
11276
11282
|
let shadowColor = _shadowColor === `Default` ? _normalColor : _shadowColor;
|
|
11277
11283
|
|
|
@@ -11999,9 +12005,9 @@ const changeHitFrz = (_j, _k, _name, _difFrame = 0) => {
|
|
|
11999
12005
|
* @returns {string}
|
|
12000
12006
|
*/
|
|
12001
12007
|
const getColor = (_type) => {
|
|
12002
|
-
const cColor = g_workObj[`${_name}${_type}Colors`][_j];
|
|
12003
12008
|
const cColorAll = g_workObj[`${_name}${_type}ColorsAll`][_j];
|
|
12004
|
-
return currentFrz[_type] !==
|
|
12009
|
+
return currentFrz[_type] !== cColorAll && currentFrz[`${_type}All`] !== cColorAll
|
|
12010
|
+
? cColorAll : currentFrz[_type];
|
|
12005
12011
|
};
|
|
12006
12012
|
|
|
12007
12013
|
const tmpHitColor = getColor(`Hit`);
|