Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function TrackJudgment(self,j,p)
- local pn = p or math.max(self:getaux(),1)
- judge[pn].Score = GetScore(pn)
- judge[pn][j] = judge[pn][j] + 1
- judge[pn].CurDP = judge[pn].CurDP + ScoreWeight(j)
- judge[pn].MaxDP = judge[pn].MaxDP + MaxScoreWeight(j)
- local r = j
- if j == 9 then r = 7 -- Large number of ok/ng judgments accounting for columns, set mines to 7 and start holds from 8.
- elseif j > 6 then
- judge[pn].Delay = true
- for i,v in ipairs(holdJudgments) do
- if self == v then r = (math.mod(i-1,16) + 1) + (NumColumns(pn) * (j-7)) + (7) end -- (Column number, modded by columns per player) + (columns used in this chart, for NG) + (number of judgments in list before 1st ok)
- end
- else
- judge[pn].T = judge[pn].T + 1
- AddStepToStream(pn,j)
- end
- table.insert( judge[pn].Data , { r , MusicClock() } ) -- compressed to ghost data
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement