demo玩家不再有极简错误音效

This commit is contained in:
MrZ626
2020-10-12 09:00:23 +08:00
parent d5c657701b
commit d3fcde7507

View File

@@ -30,15 +30,15 @@ local gameEnv0={
drop=60,lock=60, drop=60,lock=60,
wait=0,fall=0, wait=0,fall=0,
_20G=false,bone=false, bone=false,
next=6, next=6,
hold=true,oncehold=true, hold=true,oncehold=true,
ospin=true, ospin=true,
sequence="bag", sequence="bag",
freshMethod=NULL, freshMethod=NULL,
bag={1,2,3,4,5,6,7}, bag={1,2,3,4,5,6,7},
mission=NULL,
face=NULL,skin=NULL, face=NULL,skin=NULL,
mission=NULL,
life=0, life=0,
pushSpeed=3, pushSpeed=3,
@@ -2287,13 +2287,13 @@ do--player.drop(P)--Place piece
P.stat.finesseRate=P.stat.finesseRate+finePts P.stat.finesseRate=P.stat.finesseRate+finePts
if finePts<4 then if finePts<4 then
P.stat.extraPiece=P.stat.extraPiece+1 P.stat.extraPiece=P.stat.extraPiece+1
if P.gameEnv.fineKill then if ENV.fineKill then
P:lose() P:lose()
end end
if P.sound then if P.sound then
if P.gameEnv.fineKill then if ENV.fineKill then
SFX.play("finesseError_long",.6) SFX.play("finesseError_long",.6)
elseif setting.fine then elseif ENV.fine then
SFX.play("finesseError",.8) SFX.play("finesseError",.8)
end end
end end
@@ -3113,20 +3113,11 @@ function PLY.newDemoPlayer(id,x,y,size)
P.draw=Pdraw_demo P.draw=Pdraw_demo
P.control=true P.control=true
P.gameEnv={ P.gameEnv={
drop=1e99,lock=1e99, das=10,arr=2,sddas=2,sdarr=2,
wait=10,fall=20,
next=6,hold=true,
oncehold=true,
das=10,arr=2,
sddas=2,sdarr=2,
swap=true, swap=true,
--Visual
block=true,
ghost=setting.ghost, ghost=setting.ghost,
center=setting.center, center=setting.center,
bone=false,
smooth=setting.smooth, smooth=setting.smooth,
grid=setting.grid, grid=setting.grid,
text=setting.text, text=setting.text,
@@ -3137,20 +3128,25 @@ function PLY.newDemoPlayer(id,x,y,size)
clearFX=setting.clearFX, clearFX=setting.clearFX,
shakeFX=setting.shakeFX, shakeFX=setting.shakeFX,
mindas=0,minarr=0,minsdarr=0, drop=1e99,lock=1e99,
sequence="bag", wait=10,fall=20,
bone=false,
next=6,
hold=true,oncehold=true,
ospin=true, ospin=true,
noTele=false, sequence="bag",
easyFresh=true,
visible="show",
freshLimit=1e99,
life=1e99,
pushSpeed=3,
bag={1,2,3,4,5,6,7}, bag={1,2,3,4,5,6,7},
face={0,0,0,0,0,0,0}, face={0,0,0,0,0,0,0},
skin=setting.skin, skin=setting.skin,
mission=false,
life=1e99,
pushSpeed=3,
block=true,
noTele=false,
visible="show",
freshLimit=1e99,easyFresh=true,
mindas=0,minarr=0,minsdarr=0,
} }
applyGameEnv(P) applyGameEnv(P)
prepareSequence(P) prepareSequence(P)