danoniplus 34.7.13 → 34.7.14

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
@@ -3,7 +3,7 @@
3
3
  [![Maintainability](https://api.codeclimate.com/v1/badges/9558f21e17a47a4dc987/maintainability)](https://codeclimate.com/github/cwtickle/danoniplus/maintainability)
4
4
  [![CodeQL](https://github.com/cwtickle/danoniplus/workflows/CodeQL/badge.svg)](https://github.com/cwtickle/danoniplus/actions?query=workflow%3ACodeQL)
5
5
  [![GitLab Community](https://img.shields.io/gitlab/issues/open/cwtickle/danonicw?gitlab_url=https%3A%2F%2Fgitlab.com%2F&label=Community&logo=gitlab)](https://gitlab.com/cwtickle/danonicw/-/issues)
6
- [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/cwtickle/danoniplus?sort=semver)](https://github.com/cwtickle/danoniplus/security/policy)
6
+ [![GitHub release](https://img.shields.io/github/package-json/v/cwtickle/danoniplus/support%2Fv34)](https://github.com/cwtickle/danoniplus/security/policy)
7
7
  [![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)
8
8
  [![GitHub](https://img.shields.io/github/license/cwtickle/danoniplus)](https://github.com/cwtickle/danoniplus/blob/develop/LICENSE)
9
9
  ![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 34.7.13`;
12
- const g_revisedDate = `2024/12/07`;
11
+ const g_version = `Ver 34.7.14`;
12
+ const g_revisedDate = `2025/01/28`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -9412,6 +9412,10 @@ const mainInit = _ => {
9412
9412
 
9413
9413
  arrowOFF: (_j, _k, _cnt) => {
9414
9414
 
9415
+ // 直前のフリーズアローが未判定で、自身の判定範囲がキター(O.K.)の範囲内のとき判定対象を矢印側へ移す
9416
+ // 本来はシャキン(Great)の範囲内としたいところだが、実装が複雑になるため上記条件とする
9417
+ judgeNextFunc.frzOFF(_j, g_workObj.judgFrzCnt[_j] + 1, _cnt);
9418
+
9415
9419
  if (g_workObj.judgArrowCnt[_j] === _k - 1 && _cnt <= g_judgObj.arrowJ[g_judgPosObj.shakin]) {
9416
9420
  const prevArrowName = `arrow${_j}_${g_workObj.judgArrowCnt[_j]}`;
9417
9421
  const prevArrow = g_attrObj[prevArrowName];
@@ -9439,7 +9443,7 @@ const mainInit = _ => {
9439
9443
  const prevFrz = g_attrObj[prevFrzName];
9440
9444
 
9441
9445
  // 自身より前のフリーズアローが移動中かつキター(O.K.)の領域外のとき
9442
- if (prevFrz.isMoving && prevFrz.cnt < (-1) * g_judgObj.frzJ[g_judgPosObj.kita]) {
9446
+ if (prevFrz && prevFrz.isMoving && prevFrz.cnt < (-1) * g_judgObj.frzJ[g_judgPosObj.kita]) {
9443
9447
 
9444
9448
  // 自身より前のフリーズアローが未判定の場合、強制的に枠外判定を行う
9445
9449
  if (prevFrz.cnt >= (-1) * g_judgObj.frzJ[g_judgPosObj.iknai] && !prevFrz.judgEndFlg) {
@@ -9701,7 +9705,7 @@ const mainInit = _ => {
9701
9705
  judgeMotionFunc[`${_name}NG`](_j, _k, frzName, currentFrz.cnt);
9702
9706
 
9703
9707
  } else {
9704
- currentFrz.frzBarLength -= g_workObj.currentSpeed;
9708
+ currentFrz.frzBarLength -= movY * currentFrz.dir;
9705
9709
  if (currentFrz.frzBarLength > 0) {
9706
9710
  currentFrz.y -= movY;
9707
9711
  $id(frzName).top = wUnit(currentFrz.y);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "34.7.13",
3
+ "version": "34.7.14",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {