Skip to content

Commit

Permalink
修正联网对战结算的l'pm公式算的其实是lpm
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Dec 23, 2021
1 parent 375e67b commit a5b9206
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parts/netPlayer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function NETPLY.setConnect(uid)PLYmap[uid].connected=true end
function NETPLY.setPlace(uid,place)PLYmap[uid].place=place end
function NETPLY.setStat(uid,S)
PLYmap[uid].stat={
lpm=("%.1f %s"):format(S.row/S.time*60,text.radarData[5]),
lpm=("%.1f %s"):format(S.piece/S.time*24,text.radarData[5]),
apm=("%.1f %s"):format(S.atk/S.time*60,text.radarData[3]),
adpm=("%.1f %s"):format((S.atk+S.dig)/S.time*60,text.radarData[2]),
}
Expand Down
2 changes: 1 addition & 1 deletion parts/scenes/pause.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function scene.sceneInit()
(S.atk+S.dig)/S.time*60,--ADPM
S.atk/S.time*60, --AtkPM
S.send/S.time*60, --SendPM
S.piece/S.time*24, --LinePM
S.piece/S.time*24, --Line'PM
S.dig/S.time*60, --DigPM
}
val={1/80,1/80,1/80,1/60,1/100,1/40}
Expand Down

0 comments on commit a5b9206

Please sign in to comment.