修改防守模式难度曲线(之前的录像不再能正常播放)

This commit is contained in:
MrZ626
2021-10-11 01:43:34 +08:00
parent 956316c327
commit 3eddb524d0
4 changed files with 38 additions and 34 deletions

View File

@@ -1,4 +1,6 @@
return{ return{
drop=5,lock=60,
fall=6,
mesDisp=function(P) mesDisp=function(P)
setFont(55) setFont(55)
mStr(P.modeData.wave,63,200) mStr(P.modeData.wave,63,200)
@@ -12,7 +14,11 @@ return{
if P.control then if P.control then
local D=P.modeData local D=P.modeData
D.counter=D.counter+1 D.counter=D.counter+1
local t=math.max(240-2*D.wave,40) local t=
D.wave<=60 and 240-2*D.wave or
D.wave<=120 and 120-(D.wave-60)or
D.wave<=180 and math.floor(60-(D.wave-120)*.5)or
30
if D.counter>=t then if D.counter>=t then
D.counter=0 D.counter=0
for _=1,4 do for _=1,4 do
@@ -21,23 +27,21 @@ return{
P.atkBufferSum=P.atkBufferSum+4 P.atkBufferSum=P.atkBufferSum+4
P.stat.recv=P.stat.recv+4 P.stat.recv=P.stat.recv+4
D.wave=D.wave+1 D.wave=D.wave+1
if D.wave<=75 then
D.rpm=math.floor(144e3/t)*.1 D.rpm=math.floor(144e3/t)*.1
if D.wave==25 then if D.wave==60 then
P:_showText(text.great,0,-140,100,'appear',.6) P:_showText(text.great,0,-140,100,'appear',.6)
P.gameEnv.pushSpeed=3 P.gameEnv.pushSpeed=3
P.dropDelay,P.gameEnv.drop=4,4 P.dropDelay,P.gameEnv.drop=4,4
elseif D.wave==50 then elseif D.wave==120 then
P:_showText(text.awesome,0,-140,100,'appear',.6) P:_showText(text.awesome,0,-140,100,'appear',.6)
P.gameEnv.pushSpeed=4 P.gameEnv.pushSpeed=4
P.dropDelay,P.gameEnv.drop=3,3 P.dropDelay,P.gameEnv.drop=3,3
elseif D.wave==75 then elseif D.wave==180 then
P:_showText(text.maxspeed,0,-140,100,'appear',.6) P:_showText(text.maxspeed,0,-140,100,'appear',.6)
P.dropDelay,P.gameEnv.drop=2,2 P.dropDelay,P.gameEnv.drop=2,2
end end
end end
end end
end end
end
end, end,
} }

View File

@@ -1,4 +1,6 @@
return{ return{
drop=30,lock=60,
fall=10,
mesDisp=function(P) mesDisp=function(P)
setFont(55) setFont(55)
mStr(P.modeData.wave,63,200) mStr(P.modeData.wave,63,200)
@@ -12,7 +14,11 @@ return{
if P.control then if P.control then
local D=P.modeData local D=P.modeData
D.counter=D.counter+1 D.counter=D.counter+1
local t=math.max(360-D.wave*2,60) local t=
D.wave<=60 and 360-D.wave*3 or
D.wave<=120 and 180-(D.wave-60)*2 or
D.wave<=180 and 120-(D.wave-120)or
60
if D.counter>=t then if D.counter>=t then
D.counter=0 D.counter=0
for _=1,3 do for _=1,3 do
@@ -21,17 +27,16 @@ return{
P.atkBufferSum=P.atkBufferSum+3 P.atkBufferSum=P.atkBufferSum+3
P.stat.recv=P.stat.recv+3 P.stat.recv=P.stat.recv+3
D.wave=D.wave+1 D.wave=D.wave+1
if D.wave<=90 then
D.rpm=math.floor(108e3/t)*.1 D.rpm=math.floor(108e3/t)*.1
if D.wave==25 then if D.wave==60 then
P:_showText(text.great,0,-140,100,'appear',.6) P:_showText(text.great,0,-140,100,'appear',.6)
P.gameEnv.pushSpeed=2 P.gameEnv.pushSpeed=2
P.dropDelay,P.gameEnv.drop=20,20 P.dropDelay,P.gameEnv.drop=20,20
elseif D.wave==50 then elseif D.wave==120 then
P:_showText(text.awesome,0,-140,100,'appear',.6) P:_showText(text.awesome,0,-140,100,'appear',.6)
P.gameEnv.pushSpeed=3 P.gameEnv.pushSpeed=3
P.dropDelay,P.gameEnv.drop=10,10 P.dropDelay,P.gameEnv.drop=10,10
elseif D.wave==90 then elseif D.wave==180 then
P.dropDelay,P.gameEnv.drop=5,5 P.dropDelay,P.gameEnv.drop=5,5
P:_showText(text.maxspeed,0,-140,100,'appear',.6) P:_showText(text.maxspeed,0,-140,100,'appear',.6)
end end
@@ -39,5 +44,4 @@ return{
end end
end end
end end
end
} }

View File

@@ -1,8 +1,6 @@
return{ return{
color=COLOR.red, color=COLOR.red,
env={ env={
drop=5,lock=60,
fall=6,
nextCount=3, nextCount=3,
freshLimit=15, freshLimit=15,
pushSpeed=2, pushSpeed=2,

View File

@@ -1,8 +1,6 @@
return{ return{
color=COLOR.green, color=COLOR.green,
env={ env={
drop=30,lock=60,
fall=10,
nextCount=3, nextCount=3,
freshLimit=15, freshLimit=15,
pushSpeed=1, pushSpeed=1,