微调新模式pr的小问题

This commit is contained in:
MrZ626
2021-12-20 14:55:42 +08:00
parent fc1ed4dff6
commit 04f38d2eb6
7 changed files with 26 additions and 26 deletions

View File

@@ -10,7 +10,7 @@ return{
lock=inv_lock[1],
wait=inv_wait[1],
fall=inv_fall[1],
ghost=false,
ghost=false,
noTele=true,
das=10,arr=1,
mesDisp=function(P)
@@ -26,11 +26,11 @@ return{
elseif P.combo>3 then s=s+1
end
D.pt=D.pt+s
held=false
if D.pt<1000 then
hidetimer=0-inv_wait[(P.modeData.pt/100-(P.modeData.pt%100)/100)+1]
if c>0 then hidetimer=hidetimer-inv_fall[(P.modeData.pt/100-(P.modeData.pt%100)/100)+1] end
end
held=false
if D.pt<1000 then
hidetimer=0-inv_wait[(P.modeData.pt/100-(P.modeData.pt%100)/100)+1]
if c>0 then hidetimer=hidetimer-inv_fall[(P.modeData.pt/100-(P.modeData.pt%100)/100)+1]end
end
if D.pt%100==99 then
SFX.play('warn_1')
@@ -63,18 +63,18 @@ return{
task=function(P)
P.modeData.pt=0
P.modeData.target=100
while true do
YIELD()
if P.holdTime==0 and P.waiting<=0 and not held then
hidetimer=0
held=true
end
hidetimer=hidetimer+1
if hidetimer>inv_hide[(P.modeData.pt/100-(P.modeData.pt%100)/100)+1] then
P.gameEnv.block=false
else
P.gameEnv.block=true
end
end
while true do
YIELD()
if P.holdTime==0 and P.waiting<=0 and not held then
hidetimer=0
held=true
end
hidetimer=hidetimer+1
if hidetimer>inv_hide[(P.modeData.pt/100-(P.modeData.pt%100)/100)+1]then
P.gameEnv.block=false
else
P.gameEnv.block=true
end
end
end,
}