Skip to content

Commit

Permalink
Fix: Acc Score = 1e6 when all miss
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleYang0531 committed Sep 5, 2024
1 parent b91ddeb commit 1cf6ad7
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions engine/play/FlickNote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class FlickNote : public Archetype {
inputTimeMax = beat + judgment.bad + RuntimeEnvironment.get(3);
activate = 0;
played = false;
EntityInput.set(1, judgment.bad);
return VOID;
// beat.set(Buckets.NormalNote),
}
Expand Down
1 change: 1 addition & 0 deletions engine/play/flatNotes/FlatNote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class FlatNote : public Archetype {
inputTimeMax = beat + judgment.bad + RuntimeEnvironment.get(3);
touchTime = -1;
played = false;
EntityInput.set(1, judgment.bad);
return VOID;
// beat.set(Buckets.NormalNote),
}
Expand Down
1 change: 1 addition & 0 deletions engine/play/holdNotes/HoldEighth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class SiriusHoldEighth: public Archetype {
inputTimeMax = beat + judgment.bad + RuntimeEnvironment.get(3);
isHolding = false;
lastHoldTime = -1;
EntityInput.set(1, judgment.bad);
return VOID;
}

Expand Down
1 change: 1 addition & 0 deletions engine/play/holdNotes/HoldEnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class SiriusHoldEnd: public Archetype {
playId = 0;
exportId = time1;
played = false;
EntityInput.set(1, judgment.bad);
return VOID;
}

Expand Down
1 change: 1 addition & 0 deletions engine/play/holdNotes/ScratchHoldEnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class SiriusScratchHoldEnd: public Archetype {
scratchEnLane = If(scratchLength <= 0, enLane, lane + scratchLength - 1);
exportId = time1;
played = false;
EntityInput.set(1, judgment.bad);
return VOID;
}

Expand Down
1 change: 1 addition & 0 deletions engine/play/holdNotes/Sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class SiriusSound: public Archetype {
inputTimeMax = beat + judgment.bad + RuntimeEnvironment.get(3);
isHolding = false;
lastHoldTime = -1;
EntityInput.set(1, judgment.bad);
return VOID;
}

Expand Down
1 change: 1 addition & 0 deletions engine/watch/FlickNote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
currentJudgeStartTime = Max(currentJudgeStartTime, EntityInfo.get(0));
nextNoteTime = 99999;
let id = lastNoteId, thisId = EntityInfo.get(0);
EntityInput.set(0, judgment.bad);
IF (isReplay == 1) {
IF (judgeResult <= 3 && judgeResult >= 1) comboNumber = comboNumber + 1;
ELSE comboNumber = 0; FI
Expand Down
1 change: 1 addition & 0 deletions engine/watch/flatNotes/FlatNote.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
currentJudgeStartTime = Max(currentJudgeStartTime, EntityInfo.get(0));
nextNoteTime = 99999;
let id = lastNoteId, thisId = EntityInfo.get(0);
EntityInput.set(0, judgment.bad);
IF (isReplay == 1) {
IF (judgeResult <= 3 && judgeResult >= 1) comboNumber = comboNumber + 1;
ELSE comboNumber = 0; FI
Expand Down
1 change: 1 addition & 0 deletions engine/watch/holdNotes/HoldEighth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
currentJudgeStartTime = Max(currentJudgeStartTime, EntityInfo.get(0));
nextNoteTime = 99999;
let id = lastNoteId, thisId = EntityInfo.get(0);
EntityInput.set(0, judgment.bad);
IF (isReplay == 1) {
IF (judgeResult <= 3 && judgeResult >= 1) comboNumber = comboNumber + 1;
ELSE comboNumber = 0; FI
Expand Down
1 change: 1 addition & 0 deletions engine/watch/holdNotes/HoldEnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
currentJudgeStartTime = Max(currentJudgeStartTime, EntityInfo.get(0));
nextNoteTime = 99999;
let id = lastNoteId, thisId = EntityInfo.get(0);
EntityInput.set(0, judgment.bad);
IF (isReplay) {
IF (judgeResult <= 3 && judgeResult >= 1) comboNumber = comboNumber + 1;
ELSE comboNumber = 0; FI
Expand Down
1 change: 1 addition & 0 deletions engine/watch/holdNotes/ScratchHoldEnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class SiriusScratchHoldEnd : public Archetype {
currentJudgeStartTime = Max(currentJudgeStartTime, EntityInfo.get(0));
nextNoteTime = 99999;
let id = lastNoteId, thisId = EntityInfo.get(0);
EntityInput.set(0, judgment.bad);
IF (isReplay == 1) {
IF (judgeResult <= 3 && judgeResult >= 1) comboNumber = comboNumber + 1;
ELSE comboNumber = 0; FI
Expand Down
1 change: 1 addition & 0 deletions engine/watch/holdNotes/Sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
currentJudgeStartTime = Max(currentJudgeStartTime, EntityInfo.get(0));
nextNoteTime = 99999;
let id = lastNoteId, thisId = EntityInfo.get(0);
EntityInput.set(0, judgment.bad);
IF (isReplay) {
IF (judgeResult <= 3 && judgeResult >= 1) comboNumber = comboNumber + 1;
ELSE comboNumber = 0; FI
Expand Down

0 comments on commit 1cf6ad7

Please sign in to comment.