danoniplus 37.8.4 → 37.8.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/README.md CHANGED
@@ -1,10 +1,8 @@
1
1
  # Dancing☆Onigiri (CW Edition)
2
2
 
3
- [![CodeFactor](https://www.codefactor.io/repository/github/cwtickle/danoniplus/badge)](https://www.codefactor.io/repository/github/cwtickle/danoniplus)
4
- [![Codacy Badge](https://app.codacy.com/project/badge/Grade/1213a18348c34328ac4f10c9e8a2b987)](https://app.codacy.com/gh/cwtickle/danoniplus/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
5
3
  [![CodeQL](https://github.com/cwtickle/danoniplus/workflows/CodeQL/badge.svg)](https://github.com/cwtickle/danoniplus/actions?query=workflow%3ACodeQL)
6
4
  [![Discord](https://img.shields.io/discord/698460971231870977?style=flat&logo=discord&logoColor=%23ffffff&label=Discord&labelColor=%236666ff&color=%23000066)](https://discord.gg/YVWUdUGyMy)
7
- [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/cwtickle/danoniplus?sort=semver)](https://github.com/cwtickle/danoniplus/security/policy)
5
+ [![GitHub release](https://img.shields.io/github/package-json/v/cwtickle/danoniplus/support%2Fv37)](https://github.com/cwtickle/danoniplus/security/policy)
8
6
  [![GitHub All Releases](https://img.shields.io/github/downloads/cwtickle/danoniplus/total?color=%23ff3399&label=downloads%20%28recently%29)](https://github.com/cwtickle/danoniplus/releases)
9
7
  [![GitHub](https://img.shields.io/github/license/cwtickle/danoniplus)](https://github.com/cwtickle/danoniplus/blob/develop/LICENSE)
10
8
  ![AboutDanOni](http://cw7.sakura.ne.jp/danoni/wiki/danonitop.png)
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 : 2024/12/07
7
+ * Revised : 2025/01/28
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 37.8.4`;
12
- const g_revisedDate = `2024/12/07`;
11
+ const g_version = `Ver 37.8.6`;
12
+ const g_revisedDate = `2025/01/28`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -8262,7 +8262,7 @@ const scoreConvert = (_dosObj, _scoreId, _preblankFrame, _dummyNo = ``,
8262
8262
  // g付きの場合は矢印グループから対象の矢印番号を検索
8263
8263
  const groupVal = setIntVal(val.slice(1));
8264
8264
  for (let j = 0; j < keyNum; j++) {
8265
- if (g_keyObj[`color${_keyCtrlPtn}`][j] === groupVal) {
8265
+ if (g_keyObj[`color${g_keyObj.currentKey}_0`][j] === groupVal) {
8266
8266
  colorVals.push(j);
8267
8267
  }
8268
8268
  }
@@ -10334,6 +10334,10 @@ const mainInit = () => {
10334
10334
 
10335
10335
  arrowOFF: (_j, _k, _cnt) => {
10336
10336
 
10337
+ // 直前のフリーズアローが未判定で、自身の判定範囲がキター(O.K.)の範囲内のとき判定対象を矢印側へ移す
10338
+ // 本来はシャキン(Great)の範囲内としたいところだが、実装が複雑になるため上記条件とする
10339
+ judgeNextFunc.frzOFF(_j, g_workObj.judgFrzCnt[_j] + 1, _cnt);
10340
+
10337
10341
  if (g_workObj.judgArrowCnt[_j] === _k - 1 && _cnt <= g_judgObj.arrowJ[g_judgPosObj.shakin]) {
10338
10342
  const prevArrowName = `arrow${_j}_${g_workObj.judgArrowCnt[_j]}`;
10339
10343
  const prevArrow = g_attrObj[prevArrowName];
@@ -10361,7 +10365,7 @@ const mainInit = () => {
10361
10365
  const prevFrz = g_attrObj[prevFrzName];
10362
10366
 
10363
10367
  // 自身より前のフリーズアローが移動中かつキター(O.K.)の領域外のとき
10364
- if (prevFrz.isMoving && prevFrz.cnt < (-1) * g_judgObj.frzJ[g_judgPosObj.kita]) {
10368
+ if (prevFrz && prevFrz.isMoving && prevFrz.cnt < (-1) * g_judgObj.frzJ[g_judgPosObj.kita]) {
10365
10369
 
10366
10370
  // 自身より前のフリーズアローが未判定の場合、強制的に枠外判定を行う
10367
10371
  if (prevFrz.cnt >= (-1) * g_judgObj.frzJ[g_judgPosObj.iknai] && !prevFrz.judgEndFlg) {
@@ -10674,7 +10678,7 @@ const mainInit = () => {
10674
10678
  judgeMotionFunc[`${_name}NG`](_j, _k, frzName, currentFrz.cnt);
10675
10679
 
10676
10680
  } else {
10677
- currentFrz.frzBarLength -= g_workObj.currentSpeed;
10681
+ currentFrz.frzBarLength -= movY * currentFrz.dir;
10678
10682
  if (currentFrz.frzBarLength > 0) {
10679
10683
  currentFrz.y -= movY;
10680
10684
  $id(frzName).top = wUnit(currentFrz.y);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "37.8.4",
3
+ "version": "37.8.6",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {