整理代码,return后面跟空格
This commit is contained in:
Submodule Zframework updated: 69858c6c14...632e95d48d
@@ -72,7 +72,7 @@ local function _flipList(O)
|
||||
end
|
||||
|
||||
local function _reflect(a)
|
||||
return{
|
||||
return {
|
||||
[03]=_flipList(a[01]),
|
||||
[01]=_flipList(a[03]),
|
||||
[30]=_flipList(a[10]),
|
||||
|
||||
@@ -62,7 +62,7 @@ local AISpeed={60,50,42,34,27,21,16,12,9,6}
|
||||
]]
|
||||
function BOT.template(arg)
|
||||
if arg.type=='CC' then
|
||||
return{
|
||||
return {
|
||||
type='CC',
|
||||
next=arg.next,
|
||||
hold=arg.hold,
|
||||
@@ -72,7 +72,7 @@ function BOT.template(arg)
|
||||
_20G=arg._20G,
|
||||
}
|
||||
elseif arg.type=='9S' then
|
||||
return{
|
||||
return {
|
||||
type='9S',
|
||||
delay=math.floor(AISpeed[arg.speedLV]),
|
||||
hold=arg.hold,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
version=VERSION.code,
|
||||
|
||||
-- Basic
|
||||
|
||||
@@ -413,7 +413,7 @@ function DATA.parseReplayData(fileName,fileData,ifFull)
|
||||
|
||||
-- Create unavailable replay object
|
||||
::BREAK_cannotParse::
|
||||
return{
|
||||
return {
|
||||
fileName=fileName,
|
||||
available=false,
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
GC.mStr(P.modeData.wave,63,200)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
GC.mStr(P.modeData.wave,63,200)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
hook_drop=function(P)
|
||||
if P.lastPiece.atk>0 then
|
||||
P:receive(nil,P.lastPiece.atk,0,generateLine(P.holeRND:random(10)))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
hook_drop=function(P)
|
||||
if P.lastPiece.atk>0 then
|
||||
P:receive(nil,P.lastPiece.atk,120,generateLine(P.holeRND:random(10)))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
hook_drop=function(P)
|
||||
if P.lastPiece.atk>0 then
|
||||
P:receive(nil,P.lastPiece.atk,30,generateLine(P.holeRND:random(10)))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
hook_drop=function(P)
|
||||
if P.lastPiece.atk>0 then
|
||||
P:receive(nil,P.lastPiece.atk,60,generateLine(P.holeRND:random(10)))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
hook_drop=function(P)
|
||||
if P.lastPiece.row>0 then
|
||||
for _=1,#P.clearedRow do
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
mText(TEXTOBJ.techrash,63,420)
|
||||
setFont(75)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
local rem=table.remove
|
||||
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(45)
|
||||
GC.mStr(P.combo,63,310)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
hook_drop=function(P)
|
||||
if P.lastPiece.row>0 then
|
||||
for _=1,#P.clearedRow do
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
hook_drop=function(P)
|
||||
if P.lastPiece.row==0 then
|
||||
P:lose()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(45)
|
||||
GC.mStr(("%.1f"):format(P.stat.atk),63,190)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
hook_drop=function(P)
|
||||
if P.garbageBeneath==0 then
|
||||
local D=P.modeData
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
local r=10-P.stat.row
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
local r=100-P.stat.row
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
local r=1000-P.stat.row
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
local r=20-P.stat.row
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
local r=200-P.stat.row
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
local r=40-P.stat.row
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
local r=400-P.stat.row
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
hook_drop=function(P)
|
||||
if #PLY_ALIVE>1 then
|
||||
P.control=false
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
hook_drop=function(P)
|
||||
if P.stat.piece%7==0 and #PLY_ALIVE>1 then
|
||||
P.control=false
|
||||
|
||||
@@ -23,7 +23,7 @@ local function GetGravity(lvl)
|
||||
lvl<29 and 2 or
|
||||
1
|
||||
end
|
||||
return{
|
||||
return {
|
||||
das=16,arr=6,
|
||||
sddas=6,sdarr=6,
|
||||
irs=false,ims=false,
|
||||
|
||||
@@ -23,7 +23,7 @@ local function GetGravity(lvl)
|
||||
lvl<29 and 2 or
|
||||
1
|
||||
end
|
||||
return{
|
||||
return {
|
||||
das=16,arr=6,
|
||||
sddas=3,sdarr=3,
|
||||
irs=false,ims=false,
|
||||
|
||||
@@ -23,7 +23,7 @@ local function GetGravity(lvl)
|
||||
lvl<29 and 2 or
|
||||
1
|
||||
end
|
||||
return{
|
||||
return {
|
||||
das=16,arr=6,
|
||||
sddas=2,sdarr=2,
|
||||
irs=false,ims=false,
|
||||
|
||||
@@ -4,7 +4,7 @@ local function GetLevelStr(lvl)
|
||||
lvl=lvl%256
|
||||
return list[lvl]
|
||||
end
|
||||
return{
|
||||
return {
|
||||
das=16,arr=6,
|
||||
sddas=1,sdarr=1,
|
||||
irs=false,ims=false,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
drop=5,lock=60,
|
||||
fall=6,
|
||||
mesDisp=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
drop=30,lock=60,
|
||||
fall=10,
|
||||
mesDisp=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
GC.mStr(100-P.stat.dig,63,265)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
GC.mStr(10-P.stat.dig,63,265)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
GC.mStr(400-P.stat.dig,63,265)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
GC.mStr(40-P.stat.dig,63,265)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.wave,63,310)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.wave,63,310)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
local dropSpeed={50,40,30,25,20,15,12,9,7,5,4,3,2,1,1,.5,.5,.25,.25}
|
||||
|
||||
return{
|
||||
return {
|
||||
drop=60,
|
||||
wait=8,
|
||||
fall=20,
|
||||
|
||||
@@ -10,7 +10,7 @@ local function getRollGoal(P)
|
||||
return goal+(rem>0.3 and 4 or rem*10)
|
||||
end
|
||||
|
||||
return{
|
||||
return {
|
||||
drop=0,lock=15,
|
||||
wait=15,fall=6,
|
||||
noTele=true,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
drop=0,lock=12,
|
||||
wait=10,fall=10,
|
||||
noTele=true,
|
||||
|
||||
@@ -119,7 +119,7 @@ local function getRollGoal()
|
||||
end
|
||||
end
|
||||
|
||||
return{
|
||||
return {
|
||||
drop=64,
|
||||
lock=30,
|
||||
wait=23,
|
||||
|
||||
@@ -2,7 +2,7 @@ local death_lock={12,11,10,9,8, 8,8,7,7,6}
|
||||
local death_wait={10,9, 8, 7,6, 7,6,6,5,5}
|
||||
local death_fall={10,9, 8, 7,6, 7,6,5,5,5}
|
||||
|
||||
return{
|
||||
return {
|
||||
drop=0,
|
||||
lock=death_lock[1],
|
||||
wait=death_wait[1],
|
||||
|
||||
@@ -5,7 +5,7 @@ local inv_hide={20,17,14,11, 8, 5, 3, 2, 1, 0}
|
||||
local hidetimer=0
|
||||
local held=false
|
||||
|
||||
return{
|
||||
return {
|
||||
drop=0,
|
||||
lock=inv_lock[1],
|
||||
wait=inv_wait[1],
|
||||
|
||||
@@ -2,7 +2,7 @@ local rush_lock={20,18,16,15,14, 14,13,12,11,11}
|
||||
local rush_wait={12,11,11,10,10, 10,10, 9, 9, 9}
|
||||
local rush_fall={18,16,14,13,12, 12,11,11,10,10}
|
||||
|
||||
return{
|
||||
return {
|
||||
drop=0,
|
||||
lock=rush_lock[1],
|
||||
wait=rush_wait[1],
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
heightLimit=4,
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
|
||||
@@ -41,7 +41,7 @@ local function _check(P)
|
||||
end
|
||||
end
|
||||
end
|
||||
return{
|
||||
return {
|
||||
sequence='none',
|
||||
RS="SRS",
|
||||
mesDisp=function(P)
|
||||
|
||||
@@ -34,7 +34,7 @@ local function _check(P)
|
||||
end
|
||||
end
|
||||
end
|
||||
return{
|
||||
return {
|
||||
sequence='none',
|
||||
RS="SRS",
|
||||
mesDisp=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
layout='royale',
|
||||
fkey1=function(P)
|
||||
P:changeAtkMode(P.atkMode<3 and P.atkMode+2 or 5-P.atkMode)
|
||||
|
||||
@@ -45,7 +45,7 @@ local function generateGuide(num)
|
||||
end
|
||||
end
|
||||
|
||||
return{
|
||||
return {
|
||||
fkey1=function(P) P.modeData.showGuide=not P.modeData.showGuide end,
|
||||
mesDisp=function(P)
|
||||
mText(TEXTOBJ.grade,63,190)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(45)
|
||||
GC.mStr(("%.1f"):format(P.stat.atk),63,270)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
local r=40-P.stat.row
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
local oppo={
|
||||
[1]=7,[7]=1,[11]=3,[3]=11,[14]=14,[4]=4,[9]=9,
|
||||
}
|
||||
return{
|
||||
return {
|
||||
skin={
|
||||
1,7,11,3,14,4,9,
|
||||
1,7,2,6,10,2,13,5,9,15,10,11,3,12,2,16,8,4,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
fieldH=20,
|
||||
fillClear=false,
|
||||
mesDisp=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
fieldH=21,
|
||||
fillClear=false,
|
||||
mesDisp=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.wave,63,310)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.wave,63,310)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.wave,63,310)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.wave,63,310)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.wave,63,310)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.stat.clear[7][4],63,250)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.techrash,63,250)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.tsd,63,250)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.tsd,63,250)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
GC.mStr(P.modeData.tsd,63,250)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
local warnTime={60,90,105,115,116,117,118,119,120}
|
||||
for i=1,#warnTime do warnTime[i]=warnTime[i]*60 end
|
||||
|
||||
return{
|
||||
return {
|
||||
mesDisp=function(P)
|
||||
GC.setLineWidth(2)
|
||||
GC.setColor(.98,.98,.98,.8)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
local HDsearch="https://harddrop.com/wiki?search="
|
||||
local HDwiki="\nFor more information, please visit Hard Drop Wiki. Click on the globe icon to open the link."
|
||||
return{
|
||||
return {
|
||||
{"Translator Note 1",
|
||||
"",
|
||||
"help",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
local HDsearch="https://harddrop.com/wiki?search="
|
||||
local HDwiki="\nHard Drop Wikiに詳しい情報があります!"
|
||||
return{
|
||||
return {
|
||||
{"翻訳者からのメモ1",
|
||||
"",
|
||||
"help",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
local HDsearch="https://harddrop.com/wiki?search="
|
||||
local HDwiki="\n更多内容见Hard Drop Wiki。"
|
||||
return{
|
||||
return {
|
||||
{"新人须知",
|
||||
"读我 必读 萌新 xinren new noob readme",
|
||||
"help",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
local C=COLOR
|
||||
return{
|
||||
return {
|
||||
loadText={
|
||||
loadSFX="Loading sound effects",
|
||||
loadSample="Loading instrument samples",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
loadText={
|
||||
loadSFX="Cargando efectos de sonido",
|
||||
loadSample="Cargando samples de música",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
fallback='en',
|
||||
sureQuit="Appuyez à nouveau pour sortir",
|
||||
-- sureReset="Press again to reset",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
local C=COLOR
|
||||
return{
|
||||
return {
|
||||
fallback='en',
|
||||
loadText={
|
||||
loadSFX="Memuat efek suara",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
local C=COLOR
|
||||
return{
|
||||
return {
|
||||
fallback='en',
|
||||
loadText={
|
||||
loadSFX="効果音をロード中",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
local C=COLOR
|
||||
return{
|
||||
return {
|
||||
fallback='en',
|
||||
sureQuit="Aparte novamente para sair",
|
||||
-- sureReset="Press again to reset",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
fallback='en',
|
||||
|
||||
loadText={
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
local C=COLOR
|
||||
return{
|
||||
return {
|
||||
loadText={
|
||||
loadSFX="加载音效资源",
|
||||
loadSample="加载乐器采样",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
local C=COLOR
|
||||
return{
|
||||
return {
|
||||
loadText={
|
||||
loadSFX="Load(SFX);",
|
||||
loadSample="Load(Sample);",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
fallback='zh',
|
||||
loadText={
|
||||
loadSFX="加載音效資源",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
{name='sprint_10l', x=0, y=0, size=40,shape=1,icon="sprint1", unlock={'sprint_20l','sprint_40l'}},
|
||||
{name='sprint_20l', x=-200, y=200, size=50,shape=1,icon="sprint1"},
|
||||
{name='sprint_40l', x=0, y=-300, size=40,shape=1,icon="sprint2", unlock={'dig_10l','sprint_100l','marathon_n','sprintPenta','sprintMPH','sprint123','secret_grade'}},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
{
|
||||
{
|
||||
{4,4,4,3,3,3,7,0,0,0},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
-- 3*4 shape
|
||||
{{1,3,3},{1,3,4},{1,5,3},{3,1,3},{3,1,4},{3,2,4},{3,3,2},{3,3,5},{3,3,6},{3,3,7},{3,4,1},{3,4,5},{3,4,6},{3,5,3},{3,5,4},{3,5,5},{3,6,3},{3,6,4},{3,7,3},{3,7,4},{5,3,4},{5,3,5},{5,5,1},{5,5,3},{5,7,3},{6,3,3},{6,3,4},{6,6,7},{6,7,6},{7,3,3},{7,3,4},{7,5,3},{7,6,6},{7,7,7}},
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=30,lock=60,
|
||||
fall=12,
|
||||
@@ -7,7 +7,7 @@ return{
|
||||
eventSet='attacker_h',
|
||||
bg='rainbow2',bgm='shining terminal',
|
||||
},
|
||||
score=function(P) return{P.modeData.wave,P.stat.time} end,
|
||||
score=function(P) return {P.modeData.wave,P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Waves "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=5,lock=60,
|
||||
fall=8,
|
||||
@@ -6,7 +6,7 @@ return{
|
||||
eventSet='attacker_u',
|
||||
bg='rainbow2',bgm='shining terminal',
|
||||
},
|
||||
score=function(P) return{P.modeData.wave,P.stat.time} end,
|
||||
score=function(P) return {P.modeData.wave,P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Waves "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=10,lock=60,
|
||||
freshLimit=15,
|
||||
@@ -13,7 +13,7 @@ return{
|
||||
end,
|
||||
bg='tunnel',bgm='echo',
|
||||
},
|
||||
score=function(P) return{math.min(math.floor(P.stat.atk),100),P.stat.time} end,
|
||||
score=function(P) return {math.min(math.floor(P.stat.atk),100),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Attack "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=5,lock=45,
|
||||
freshLimit=15,
|
||||
@@ -13,7 +13,7 @@ return{
|
||||
end,
|
||||
bg='blockhole',bgm='echo',
|
||||
},
|
||||
score=function(P) return{math.min(math.floor(P.stat.atk),100),P.stat.time} end,
|
||||
score=function(P) return {math.min(math.floor(P.stat.atk),100),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Attack "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=30,lock=60,
|
||||
hook_drop={
|
||||
@@ -12,7 +12,7 @@ return{
|
||||
end,
|
||||
bg='tunnel',bgm='echo',
|
||||
},
|
||||
score=function(P) return{math.min(math.floor(P.stat.atk),100),P.stat.time} end,
|
||||
score=function(P) return {math.min(math.floor(P.stat.atk),100),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Attack "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=2,lock=30,
|
||||
freshLimit=10,
|
||||
@@ -13,7 +13,7 @@ return{
|
||||
end,
|
||||
bg='blockhole',bgm='echo',
|
||||
},
|
||||
score=function(P) return{math.min(math.floor(P.stat.atk),100),P.stat.time} end,
|
||||
score=function(P) return {math.min(math.floor(P.stat.atk),100),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Attack "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
noTele=true,
|
||||
mindas=7,minarr=1,minsdarr=1,
|
||||
@@ -7,7 +7,7 @@ return{
|
||||
eventSet='big_h',
|
||||
bg='cubes',bgm='push',
|
||||
},
|
||||
score=function(P) return{math.min(P.stat.row,200),P.stat.time} end,
|
||||
score=function(P) return {math.min(P.stat.row,200),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Lines "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
noTele=true,
|
||||
mindas=7,minarr=1,minsdarr=1,
|
||||
@@ -7,7 +7,7 @@ return{
|
||||
eventSet='big_n',
|
||||
bg='bg2',bgm='push',
|
||||
},
|
||||
score=function(P) return{math.min(P.stat.row,200),P.stat.time} end,
|
||||
score=function(P) return {math.min(P.stat.row,200),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Lines "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=30,lock=45,
|
||||
freshLimit=10,
|
||||
@@ -7,7 +7,7 @@ return{
|
||||
eventSet='checkLine_200',
|
||||
bg='glow',bgm='sugar fairy',
|
||||
},
|
||||
score=function(P) return{math.min(P.stat.row,200),P.stat.time} end,
|
||||
score=function(P) return {math.min(P.stat.row,200),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Lines "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=15,lock=45,
|
||||
fall=10,
|
||||
@@ -10,7 +10,7 @@ return{
|
||||
eventSet='checkLine_200',
|
||||
bg='rgb',bgm='sugar fairy',
|
||||
},
|
||||
score=function(P) return{math.min(P.stat.row,200),P.stat.time} end,
|
||||
score=function(P) return {math.min(P.stat.row,200),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Lines "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=10,lock=60,
|
||||
fall=5,
|
||||
@@ -11,7 +11,7 @@ return{
|
||||
eventSet='checkLine_200',
|
||||
bg='rgb',bgm='sugar fairy',
|
||||
},
|
||||
score=function(P) return{math.min(P.stat.row,200),P.stat.time} end,
|
||||
score=function(P) return {math.min(P.stat.row,200),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Lines "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=15,lock=45,
|
||||
freshLimit=10,
|
||||
@@ -7,7 +7,7 @@ return{
|
||||
eventSet='checkLine_200',
|
||||
bg='glow',bgm='sugar fairy',
|
||||
},
|
||||
score=function(P) return{math.min(P.stat.row,200),P.stat.time} end,
|
||||
score=function(P) return {math.min(P.stat.row,200),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Lines "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=30,lock=60,
|
||||
block=false,center=0,ghost=0,
|
||||
@@ -10,7 +10,7 @@ return{
|
||||
eventSet='checkLine_100',
|
||||
bg='rgb',bgm='far',
|
||||
},
|
||||
score=function(P) return{math.min(P.stat.row,100),P.stat.time} end,
|
||||
score=function(P) return {math.min(P.stat.row,100),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Lines "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -7,7 +7,7 @@ local border=GC.DO{334,620,
|
||||
{'dRect',1,10,15,604,3},
|
||||
}
|
||||
local sin,min=math.sin,math.min
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=30,lock=60,
|
||||
nextCount=1,
|
||||
@@ -59,7 +59,7 @@ return{
|
||||
MES.new('warn',text.switchSpawnSFX)
|
||||
end
|
||||
end,
|
||||
score=function(P) return{min(P.stat.row,40),P.stat.time} end,
|
||||
score=function(P) return {min(P.stat.row,40),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Lines "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=5,lock=30,
|
||||
freshLimit=15,ospin=false,
|
||||
@@ -6,7 +6,7 @@ return{
|
||||
eventSet='c4wBase',
|
||||
bg='rgb',bgm='oxygen',
|
||||
},
|
||||
score=function(P) return{math.min(P.modeData.maxCombo,100),P.stat.time} end,
|
||||
score=function(P) return {math.min(P.modeData.maxCombo,100),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Combo "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
drop=30,lock=60,infHold=true,
|
||||
freshLimit=15,ospin=false,
|
||||
@@ -6,7 +6,7 @@ return{
|
||||
eventSet='c4wBase',
|
||||
bg='rgb',bgm='oxygen',
|
||||
},
|
||||
score=function(P) return{math.min(P.modeData.maxCombo,100),P.stat.time} end,
|
||||
score=function(P) return {math.min(P.modeData.maxCombo,100),P.stat.time} end,
|
||||
scoreDisp=function(D) return D[1].." Combo "..STRING.time(D[2]) end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
return{
|
||||
return {
|
||||
env={
|
||||
center=0,ghost=0,
|
||||
smooth=false,
|
||||
@@ -7,7 +7,7 @@ return{
|
||||
bg='rgb',bgm='1980s',
|
||||
},
|
||||
slowMark=true,
|
||||
score=function(P) return{P.stat.score,P.stat.row} end,
|
||||
score=function(P) return {P.stat.score,P.stat.row} end,
|
||||
scoreDisp=function(D) return D[1].." "..D[2].." Lines" end,
|
||||
comp=function(a,b) return a[1]>b[1] or a[1]==b[1] and a[2]<b[2] end,
|
||||
getRank=function(P)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user