pc练习题库大改

This commit is contained in:
MrZ626
2021-01-23 02:22:41 +08:00
parent f405ce9660
commit 4d6b3cc3da
11 changed files with 78 additions and 107 deletions

View File

@@ -699,7 +699,7 @@ return{
["c4wtrain_n"]= {"C4W Training", "NORMAL", "Infinite combos."},
["c4wtrain_l"]= {"C4W Training", "LUNATIC", "Infinite combos."},
["pctrain_n"]= {"PC Training", "NORMAL", "Simple Perfect Clear mode."},
["pctrain_l"]= {"PC Training", "LUNATIC", "Simple Perfect Clear mode."},
["pctrain_l"]= {"PC Training", "LUNATIC", "Hard Perfect Clear mode."},
["pc_n"]= {"PC Challenge", "NORMAL", "Get PCs within 100 lines!"},
["pc_h"]= {"PC Challenge", "HARD", "Get PCs within 100 lines!"},
["pc_l"]= {"PC Challenge", "LUNATIC", "Get PCs within 100 lines!"},

View File

@@ -610,7 +610,7 @@ return{
["c4wtrain_n"]= {"Mode essai C4W", "NORMAL", "Combos infinis."},
["c4wtrain_l"]= {"Mode essai C4W", "LUNATIQUE", "Combos infinis."},
["pctrain_n"]= {"Mode essai PC", "NORMAL", "Mode Perfect Clear simple"},
["pctrain_l"]= {"Mode essai PC", "LUNATIQUE", "Mode Perfect Clear simple"},
["pctrain_l"]= {"Mode essai PC", "LUNATIQUE", "Mode Perfect Clear dur"},
["pc_n"]= {"PC Challenge", "NORMAL", "Obtenez un PC dans les prochaines 100 lignes !"},
["pc_h"]= {"PC Challenge", "DIFFICILE", "Obtenez un PC dans les prochaines 100 lignes !"},
["pc_l"]= {"PC Challenge", "LUNATIQUE", "Obtenez un PC dans les prochaines 100 lignes !"},

View File

@@ -688,7 +688,7 @@ return{
["c4wtrain_n"]= {"Treinamento C4W", "NORMAL", "Combos infinitos."},
["c4wtrain_l"]= {"Treinamento C4W", "LUNÁTICO", "Combos infinitos."},
["pctrain_n"]= {"Treinamento PC", "NORMAL", "Modo simples de limpeza perfeita."},
["pctrain_l"]= {"Treinamento PC", "LUNÁTICO", "Modo simples de limpeza perfeita."},
["pctrain_l"]= {"Treinamento PC", "LUNÁTICO", "Modo duro de limpeza perfeita."},
["pc_n"]= {"Desafio PC", "NORMAL", "Obtenha PCs em 100 linhas!"},
["pc_h"]= {"Desafio PC", "DIFÍCIL", "Obtenha PCs em 100 linhas!"},
["pc_l"]= {"Desafio PC", "LUNÁTICO", "Obteha PCs em 100 linhas!"},

View File

@@ -607,7 +607,7 @@ return{
["c4wtrain_n"]= {"Entrenar C4W", "Normal", "Combos infinitos."},
["c4wtrain_l"]= {"Entrenar C4W", "Lunático", "Combos infinitos."},
["pctrain_n"]= {"Entrenar PC", "Normal", "Modo sencillo para practicar Perfect Clears."},
["pctrain_l"]= {"Entrenar PC", "Lunático", "Modo sencillo para practicar Perfect Clears."},
["pctrain_l"]= {"Entrenar PC", "Lunático", "Modo duro para practicar Perfect Clears."},
["pc_n"]= {"Desafío de PCs", "Normal", "¡Consigue los PCs que puedas en 100 líneas!"},
["pc_h"]= {"Desafío de PCs", "Difícil", "¡Consigue los PCs que puedas en 100 líneas!"},
["pc_l"]= {"Desafío de PCs", "Lunático", "¡Consigue los PCs que puedas en 100 líneas!"},

View File

@@ -239,7 +239,7 @@ return{
["c4wtrain_n"]= {"C4W练习", "普通", "无 限 连 击"},
["c4wtrain_l"]= {"C4W练习", "疯狂", "无 限 连 击"},
["pctrain_n"]= {"全清训练", "普通", "随便打打"},
["pctrain_l"]= {"全清训练", "疯狂", "就那几个题,没难度"},
["pctrain_l"]= {"全清训练", "疯狂", "建议不打"},
["pc_n"]= {"全清挑战", "普通", "100行内刷PC"},
["pc_h"]= {"全清挑战", "困难", "100行内刷PC"},
["pc_l"]= {"全清挑战", "疯狂", "100行内刷PC"},

View File

@@ -703,7 +703,7 @@ return{
["c4wtrain_n"]= {"C4W练习", "普通", "无 限 连 击"},
["c4wtrain_l"]= {"C4W练习", "疯狂", "无 限 连 击"},
["pctrain_n"]= {"全清训练", "普通", "简易PC题库,熟悉全清定式的组合"},
["pctrain_l"]= {"全清训练", "疯狂", "简易PC题库,熟悉全清定式的组合"},
["pctrain_l"]= {"全清训练", "疯狂", "困难PC题库,强算力者进"},
["pc_n"]= {"全清挑战", "普通", "100行内刷PC"},
["pc_h"]= {"全清挑战", "困难", "100行内刷PC"},
["pc_l"]= {"全清挑战", "疯狂", "100行内刷PC"},

View File

@@ -205,7 +205,7 @@ return{
["c4wtrain_n"]= {"中四宽练习", "普通", "无 限 连 击"},
["c4wtrain_l"]= {"中四宽练习", "疯狂", "无 限 连 击"},
["pctrain_n"]= {"全清训练", "普通", "简易全清题库,熟悉全清定式的组合"},
["pctrain_l"]= {"全清训练", "疯狂", "简易全清题库,熟悉全清定式的组合"},
["pctrain_l"]= {"全清训练", "疯狂", "困难PC题库,强算力者进"},
["pc_n"]= {"全清挑战", "普通", "100行内刷全清"},
["pc_h"]= {"全清挑战", "困难", "100行内刷全清"},
["pc_l"]= {"全清挑战", "疯狂", "100行内刷全清"},

View File

@@ -65,4 +65,44 @@ return{
{3,3,3,4,4,4,0,0,0,0},
},
},--6 piece opener
{
{
{0,0,0,0,0,1,3,5,6,7},
{0,0,0,0,0,1,3,5,6,7},
{0,0,0,0,0,1,3,5,6,7},
{0,0,0,0,0,1,3,5,6,7},
},
{
{1,0,0,0,0,0,3,5,6,7},
{1,0,0,0,0,0,3,5,6,7},
{1,0,0,0,0,0,3,5,6,7},
{1,0,0,0,0,0,3,5,6,7},
},
{
{1,3,0,0,0,0,0,5,6,7},
{1,3,0,0,0,0,0,5,6,7},
{1,3,0,0,0,0,0,5,6,7},
{1,3,0,0,0,0,0,5,6,7},
},
},--4*5
{
{
{0,0,0,0,0,0,1,3,5,7},
{0,0,0,0,0,0,7,1,3,5},
{0,0,0,0,0,0,5,7,1,3},
{0,0,0,0,0,0,3,5,7,1},
},
{
{7,0,0,0,0,0,0,5,3,1},
{7,0,0,0,0,0,0,5,3,1},
{7,0,0,0,0,0,0,5,3,1},
{7,0,0,0,0,0,0,5,3,1},
},
{
{1,3,0,0,0,0,0,0,6,5},
{5,6,0,0,0,0,0,0,3,1},
{5,7,0,0,0,0,0,0,3,1},
{1,3,0,0,0,0,0,0,7,5},
},
},--4*6
}

File diff suppressed because one or more lines are too long

View File

@@ -1,10 +1,9 @@
local int=math.floor
local pc_drop={50,45,40,35,30,26,22,18,15,12}
local pc_lock={55,50,45,40,36,32,30}
local pc_fall={18,16,14,12,10,9,8,7,6}
local pc_lock={55,50,46,42,39,36,33,31,29,27}
local pc_fall={18,16,14,12,10,9,8,7,6,5}
local PCbase=require"parts/modes/PCbase"
local PClist=require"parts/modes/PClist"
local PCtype={[0]=1,2,3,2,3}
local function task_PC(P)
local D=P.modeData
@@ -26,7 +25,7 @@ local function check(P)
if c<5 then P:lose()end
end
if #P.field==0 then
local type=PCtype[P.stat.pc]or P:RND(2,3)
local type=P.stat.pc<10 and 4 or 5
local L=PClist[type][P:RND(#PClist[1])]
local symmetry=P:RND()>.5
P.modeData.type=type
@@ -38,12 +37,10 @@ local function check(P)
local s=P.stat.pc*.25
if int(s)==s and s>0 then
P.gameEnv.drop=pc_drop[s]or 10
P.gameEnv.lock=pc_lock[s]or 20
P.gameEnv.fall=pc_fall[s]or 5
P.gameEnv.lock=pc_lock[s]or 25
P.gameEnv.fall=pc_fall[s]or 4
if s==10 then
P:showTextF(text.maxspeed,0,-140,100,"appear",.6)
else
P:showTextF(text.speedup,0,-140,40,"appear",.8)
end
end
end
@@ -52,7 +49,7 @@ end
return{
color=COLOR.red,
env={
nextCount=4,
nextCount=5,
holdCount=0,
drop=60,lock=60,
fall=20,
@@ -79,11 +76,11 @@ return{
getRank=function(P)
local L=P.stat.pc
return
L>=62 and 5 or
L>=50 and 5 or
L>=42 and 4 or
L>=26 and 3 or
L>=18 and 2 or
L>=10 and 1 or
L>=2 and 0
L>=3 and 0
end,
}

View File

@@ -1,16 +1,11 @@
local PCbase=require"parts/modes/PCbase"
local PClist=require"parts/modes/PClist"
local PCtype={
[0]=1,1,1,1,2,
1,1,1,1,2,
1,1,1,1,3,
1,1,1,2,
1,1,1,3,
1,1,2,
1,1,3,
1,2,
1,3,
2,
3,
1,2,1,3,
1,2,3,
}
local function task_PC(P)
local D=P.modeData
@@ -32,7 +27,7 @@ local function check(P)
if c<5 then P:lose()end
end
if #P.field==0 then
local type=PCtype[P.stat.pc]or P:RND(2,3)
local type=PCtype[P.stat.pc+1]or 3
local L=PClist[type][P:RND(#PClist[1])]
local symmetry=P:RND()>.5
P.modeData.type=type
@@ -71,11 +66,11 @@ return{
getRank=function(P)
local L=P.stat.pc
return
L>=126 and 5 or
L>=62 and 4 or
L>=42 and 3 or
L>=26 and 2 or
L>=12 and 1 or
L>=62 and 5 or
L>=42 and 4 or
L>=26 and 3 or
L>=18 and 2 or
L>=10 and 1 or
L>=2 and 0
end,
}