We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdc0abb commit 92eb552Copy full SHA for 92eb552
src/Etterna/Screen/Others/ScreenEvaluation.cpp
@@ -389,12 +389,21 @@ class LunaScreenEvaluation : public Luna<ScreenEvaluation>
389
LuaHelpers::CreateTableFromArray(toPush, L);
390
return 1;
391
}
392
+ static int GetReplaySnapshotWifePercentForNoterow(T* p, lua_State* L)
393
+ {
394
+ int row = IArg(1);
395
+ auto rs = PlayerAI::GetReplaySnapshotForNoterow(row);
396
+
397
+ lua_pushnumber(L, rs->curwifescore / rs->maxwifescore);
398
+ return 1;
399
+ }
400
401
LunaScreenEvaluation()
402
{
403
ADD_METHOD(GetStageStats);
404
ADD_METHOD(SetPlayerStageStatsFromReplayData);
405
ADD_METHOD(GetReplaySnapshotJudgmentsForNoterow);
406
+ ADD_METHOD(GetReplaySnapshotWifePercentForNoterow);
407
408
};
409
0 commit comments