danoniplus 37.8.3 → 37.8.5

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/11/27
7
+ * Revised : 2024/12/19
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 37.8.3`;
12
- const g_revisedDate = `2024/11/27`;
11
+ const g_version = `Ver 37.8.5`;
12
+ const g_revisedDate = `2024/12/19`;
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
  }
@@ -8891,7 +8891,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8891
8891
  g_workObj.initY[frmPrev] = tmpObj.startY;
8892
8892
  g_workObj.arrivalFrame[frmPrev] = tmpObj.arrivalFrm;
8893
8893
  g_workObj.motionFrame[frmPrev] = tmpObj.motionFrm;
8894
- g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8894
+ g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8895
8895
 
8896
8896
  if (_frzFlg) {
8897
8897
  g_workObj[`mk${camelHeader}Length`][_j] = [];
@@ -8920,7 +8920,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8920
8920
  g_workObj.initY[tmpFrame] = g_workObj.initY[frmPrev];
8921
8921
  g_workObj.arrivalFrame[tmpFrame] = g_workObj.arrivalFrame[frmPrev];
8922
8922
  g_workObj.motionFrame[tmpFrame] = g_workObj.motionFrame[frmPrev];
8923
- g_workObj.initBoostY[tmpFrame] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8923
+ g_workObj.initBoostY[tmpFrame] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8924
8924
 
8925
8925
  } else {
8926
8926
 
@@ -8937,7 +8937,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8937
8937
  g_workObj.initY[frmPrev] = tmpObj.startY;
8938
8938
  g_workObj.arrivalFrame[frmPrev] = tmpObj.arrivalFrm;
8939
8939
  g_workObj.motionFrame[frmPrev] = tmpObj.motionFrm;
8940
- g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8940
+ g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8941
8941
  }
8942
8942
 
8943
8943
  // 出現タイミングを保存
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "37.8.3",
3
+ "version": "37.8.5",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {