模式约束变量noFly改为noTele,修复大小写不一致
This commit is contained in:
@@ -15,7 +15,7 @@ end
|
||||
return{
|
||||
color=color.lBlue,
|
||||
env={
|
||||
noFly=true,
|
||||
noTele=true,
|
||||
minarr=1,
|
||||
_20G=true,
|
||||
drop=0,lock=15,
|
||||
|
||||
@@ -16,7 +16,7 @@ end
|
||||
return{
|
||||
color=color.lBlue,
|
||||
env={
|
||||
noFly=true,
|
||||
noTele=true,
|
||||
das=16,arr=6,sddas=2,sdarr=2,
|
||||
center=0,ghost=0,
|
||||
drop=3,lock=3,wait=10,fall=25,
|
||||
|
||||
@@ -17,7 +17,7 @@ end
|
||||
return{
|
||||
color=color.magenta,
|
||||
env={
|
||||
noFly=true,
|
||||
noTele=true,
|
||||
mindas=7,minarr=1,minsdarr=1,
|
||||
drop=.5,wait=8,fall=20,
|
||||
target=50,dropPiece=check,
|
||||
|
||||
@@ -16,7 +16,7 @@ end
|
||||
return{
|
||||
color=color.green,
|
||||
env={
|
||||
noFly=true,
|
||||
noTele=true,
|
||||
wait=8,fall=20,
|
||||
target=10,dropPiece=check_LVup,
|
||||
mindas=7,minarr=1,minsdarr=1,
|
||||
|
||||
@@ -36,7 +36,7 @@ end
|
||||
return{
|
||||
color=color.red,
|
||||
env={
|
||||
noFly=true,
|
||||
noTele=true,
|
||||
das=6,arr=1,
|
||||
_20G=true,
|
||||
lock=death_lock[1],
|
||||
|
||||
@@ -40,7 +40,7 @@ end
|
||||
return{
|
||||
color=color.red,
|
||||
env={
|
||||
noFly=true,
|
||||
noTele=true,
|
||||
das=9,arr=3,
|
||||
_20G=true,
|
||||
lock=rush_lock[1],
|
||||
|
||||
@@ -39,7 +39,7 @@ end
|
||||
return{
|
||||
color=color.lGrey,
|
||||
env={
|
||||
noFly=true,
|
||||
noTele=true,
|
||||
das=5,arr=1,
|
||||
_20G=true,lock=12,
|
||||
wait=10,fall=10,
|
||||
|
||||
@@ -3,7 +3,7 @@ local warnTime={60,90,105,115,116,117,118,119,120}
|
||||
return{
|
||||
color=color.lGrey,
|
||||
env={
|
||||
noFly=true,
|
||||
noTele=true,
|
||||
minarr=1,minsdarr=1,
|
||||
drop=60,lock=60,
|
||||
fall=20,
|
||||
|
||||
@@ -8,7 +8,7 @@ local scr=scr--Screen camera
|
||||
local setFont=setFont
|
||||
--------------------------<GameData>--------------------------
|
||||
local gameEnv0={
|
||||
noFly=false,
|
||||
noTele=false,
|
||||
das=10,arr=2,
|
||||
sddas=2,sdarr=2,
|
||||
ihs=true,irs=true,ims=true,
|
||||
@@ -2456,7 +2456,7 @@ function player.act.restart(P)
|
||||
end
|
||||
end
|
||||
function player.act.insLeft(P,auto)
|
||||
if P.gameEnv.nofly or not P.cur then return end
|
||||
if P.gameEnv.noTele or not P.cur then return end
|
||||
local x0=P.curX
|
||||
while not P:ifoverlap(P.cur.bk,P.curX-1,P.curY)do
|
||||
if P.gameEnv.moveFX and P.gameEnv.block then
|
||||
@@ -2478,7 +2478,7 @@ function player.act.insLeft(P,auto)
|
||||
end
|
||||
end
|
||||
function player.act.insRight(P,auto)
|
||||
if P.gameEnv.nofly or not P.cur then return end
|
||||
if P.gameEnv.noTele or not P.cur then return end
|
||||
local x0=P.curX
|
||||
while not P:ifoverlap(P.cur.bk,P.curX+1,P.curY)do
|
||||
if P.gameEnv.moveFX and P.gameEnv.block then
|
||||
@@ -2500,7 +2500,8 @@ function player.act.insRight(P,auto)
|
||||
end
|
||||
end
|
||||
function player.act.insDown(P)
|
||||
if P.cur and P.curY>P.imgY then
|
||||
if P.gameEnv.noTele or not P.cur then return end
|
||||
if P.curY>P.imgY then
|
||||
if P.gameEnv.dropFX and P.gameEnv.block and P.curY-P.imgY-P.r>-1 then
|
||||
P:creatDropFX(P.curX,P.curY-1,P.c,P.curY-P.imgY-P.r+1)
|
||||
end
|
||||
@@ -2524,7 +2525,8 @@ function player.act.down1(P)
|
||||
end
|
||||
end
|
||||
function player.act.down4(P)
|
||||
if P.cur and P.curY>P.imgY then
|
||||
if P.gameEnv.noTele or not P.cur then return end
|
||||
if P.curY>P.imgY then
|
||||
local y=max(P.cur-4,P.imgY)
|
||||
if P.gameEnv.dropFX and P.gameEnv.block and P.curY-y-P.r>-1 then
|
||||
P:creatDropFX(P.curX,P.curY-1,P.c,P.curY-y-P.r+1)
|
||||
@@ -2535,7 +2537,8 @@ function player.act.down4(P)
|
||||
end
|
||||
end
|
||||
function player.act.down10(P)
|
||||
if P.cur and P.curY>P.imgY then
|
||||
if P.gameEnv.noTele or not P.cur then return end
|
||||
if P.curY>P.imgY then
|
||||
local y=max(P.cur-10,P.imgY)
|
||||
if P.gameEnv.dropFX and P.gameEnv.block and P.curY-y-P.r>-1 then
|
||||
P:creatDropFX(P.curX,P.curY-1,P.c,P.curY-y-P.r+1)
|
||||
@@ -2546,24 +2549,24 @@ function player.act.down10(P)
|
||||
end
|
||||
end
|
||||
function player.act.dropLeft(P)
|
||||
if P.gameEnv.nofly or not P.cur then return end
|
||||
if P.gameEnv.noTele or not P.cur then return end
|
||||
P.act.insLeft(P)
|
||||
P.act.hardDrop(P)
|
||||
end
|
||||
function player.act.dropRight(P)
|
||||
if P.gameEnv.nofly or not P.cur then return end
|
||||
if P.gameEnv.noTele or not P.cur then return end
|
||||
P.act.insRight(P)
|
||||
P.act.hardDrop(P)
|
||||
end
|
||||
function player.act.zangiLeft(P)
|
||||
if P.gameEnv.nofly or not P.cur then return end
|
||||
if P.gameEnv.noTele or not P.cur then return end
|
||||
P.act.insLeft(P)
|
||||
P.act.insDown(P)
|
||||
P.act.insRight(P)
|
||||
P.act.hardDrop(P)
|
||||
end
|
||||
function player.act.zangiRight(P)
|
||||
if P.gameEnv.nofly or not P.cur then return end
|
||||
if P.gameEnv.noTele or not P.cur then return end
|
||||
P.act.insRight(P)
|
||||
P.act.insDown(P)
|
||||
P.act.insLeft(P)
|
||||
@@ -2803,7 +2806,7 @@ function PLY.newDemoPlayer(id,x,y,size)
|
||||
P.field,P.visTime={},{}
|
||||
P.atkBuffer={sum=0}
|
||||
P.gameEnv={
|
||||
noFly=false,
|
||||
noTele=false,
|
||||
das=10,arr=2,
|
||||
sddas=2,sdarr=2,
|
||||
swap=true,
|
||||
|
||||
Reference in New Issue
Block a user