Skip to content

Commit 16c50cf

Browse files
1-1
1 parent bbdd278 commit 16c50cf

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/Etterna/Actor/Gameplay/Player.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -2992,7 +2992,7 @@ Player::SetMineJudgment(TapNoteScore tns, int iTrack)
29922992

29932993
// Ms scoring implemenation - Mina
29942994
if (tns == TNS_HitMine)
2995-
curwifescore -= 8.f;
2995+
curwifescore -= wife3_miss_weight;
29962996

29972997
if (m_pPlayerStageStats != nullptr) {
29982998
if (maxwifescore == 0.f)
@@ -3074,10 +3074,10 @@ Player::SetJudgment(int iRow,
30743074

30753075
if (m_pPlayerStageStats != nullptr) {
30763076
if (tns == TNS_Miss)
3077-
curwifescore -= 8;
3077+
curwifescore -= wife3_miss_weight;
30783078
else
30793079
curwifescore +=
3080-
wife2(tn.result.fTapNoteOffset, m_fTimingWindowScale);
3080+
wife3(tn.result.fTapNoteOffset, m_fTimingWindowScale);
30813081
maxwifescore += 2;
30823082

30833083
msg.SetParam("WifePercent", 100 * curwifescore / maxwifescore);
@@ -3187,7 +3187,7 @@ Player::SetHoldJudgment(TapNote& tn, int iTrack, int iRow)
31873187
// Ms scoring implemenation - Mina
31883188
if (tn.HoldResult.hns == HNS_LetGo ||
31893189
tn.HoldResult.hns == HNS_Missed)
3190-
curwifescore -= 6.f;
3190+
curwifescore -= wife3_hold_drop_weight;
31913191

31923192
msg.SetParam("WifePercent", 100 * curwifescore / maxwifescore);
31933193
msg.SetParam("CurWifeScore", curwifescore);

src/Etterna/Models/Misc/HighScore.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -1526,12 +1526,12 @@ HighScore::ConvertDpToWife()
15261526
float ts = 1.f;
15271527
float estpoints = 0.f;
15281528
float maxpoints = 0.f;
1529-
estpoints += m_Impl->iTapNoteScores[TNS_W1] * wife2(.01125f, ts);
1530-
estpoints += m_Impl->iTapNoteScores[TNS_W2] * wife2(.03375f, ts);
1531-
estpoints += m_Impl->iTapNoteScores[TNS_W3] * wife2(.0675f, ts);
1532-
estpoints += m_Impl->iTapNoteScores[TNS_W4] * wife2(.1125f, ts);
1533-
estpoints += m_Impl->iTapNoteScores[TNS_W5] * wife2(.1575f, ts);
1534-
estpoints += m_Impl->iTapNoteScores[TNS_Miss] * -8;
1529+
estpoints += m_Impl->iTapNoteScores[TNS_W1] * wife3(.01125f, ts);
1530+
estpoints += m_Impl->iTapNoteScores[TNS_W2] * wife3(.03375f, ts);
1531+
estpoints += m_Impl->iTapNoteScores[TNS_W3] * wife3(.0675f, ts);
1532+
estpoints += m_Impl->iTapNoteScores[TNS_W4] * wife3(.1125f, ts);
1533+
estpoints += m_Impl->iTapNoteScores[TNS_W5] * wife3(.1575f, ts);
1534+
estpoints += m_Impl->iTapNoteScores[TNS_Miss] * wife3_miss_weight;
15351535

15361536
FOREACH_ENUM(TapNoteScore, tns)
15371537
maxpoints += 2 * m_Impl->iTapNoteScores[tns];

src/Etterna/Models/Misc/PlayerStageStats.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ LuaFunction(GetGradeFromPercent, GetGradeFromPercent(FArg(1)))
10031003

10041004
static int WifeScoreOffset(T* p, lua_State* L)
10051005
{
1006-
lua_pushnumber(L, wife2(FArg(1), p->GetTimingScale()));
1006+
lua_pushnumber(L, wife3(FArg(1), p->GetTimingScale()));
10071007
return 1;
10081008
}
10091009

0 commit comments

Comments
 (0)