20G移出gameEnv属性
This commit is contained in:
@@ -17,7 +17,6 @@ return{
|
|||||||
env={
|
env={
|
||||||
noTele=true,
|
noTele=true,
|
||||||
minarr=1,
|
minarr=1,
|
||||||
_20G=true,
|
|
||||||
drop=0,lock=15,
|
drop=0,lock=15,
|
||||||
wait=15,fall=6,
|
wait=15,fall=6,
|
||||||
next=3,
|
next=3,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ local function check(P)
|
|||||||
P.gameEnv.drop=.25
|
P.gameEnv.drop=.25
|
||||||
P.gameEnv.target=100
|
P.gameEnv.target=100
|
||||||
elseif T==100 then
|
elseif T==100 then
|
||||||
P.gameEnv._20G=true
|
P._20G=true
|
||||||
P.gameEnv.target=200
|
P.gameEnv.target=200
|
||||||
else
|
else
|
||||||
P:win("finish")
|
P:win("finish")
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ return{
|
|||||||
env={
|
env={
|
||||||
noTele=true,
|
noTele=true,
|
||||||
das=6,arr=1,
|
das=6,arr=1,
|
||||||
_20G=true,
|
drop=0,
|
||||||
lock=death_lock[1],
|
lock=death_lock[1],
|
||||||
wait=death_wait[1],
|
wait=death_wait[1],
|
||||||
fall=death_fall[1],
|
fall=death_fall[1],
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ return{
|
|||||||
env={
|
env={
|
||||||
noTele=true,
|
noTele=true,
|
||||||
das=9,arr=3,
|
das=9,arr=3,
|
||||||
_20G=true,
|
drop=0,
|
||||||
lock=rush_lock[1],
|
lock=rush_lock[1],
|
||||||
wait=rush_wait[1],
|
wait=rush_wait[1],
|
||||||
fall=rush_fall[1],
|
fall=rush_fall[1],
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ return{
|
|||||||
env={
|
env={
|
||||||
noTele=true,
|
noTele=true,
|
||||||
das=5,arr=1,
|
das=5,arr=1,
|
||||||
_20G=true,lock=12,
|
drop=0,lock=12,
|
||||||
wait=10,fall=10,
|
wait=10,fall=10,
|
||||||
dropPiece=score,
|
dropPiece=score,
|
||||||
freshLimit=15,
|
freshLimit=15,
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ end
|
|||||||
return{
|
return{
|
||||||
color=color.dRed,
|
color=color.dRed,
|
||||||
env={
|
env={
|
||||||
_20G=true,lock=60,
|
drop=0,lock=60,
|
||||||
freshLimit=15,
|
freshLimit=15,
|
||||||
dropPiece=tech_check_hard,
|
dropPiece=tech_check_hard,
|
||||||
bg="matrix",bgm="down",
|
bg="matrix",bgm="down",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ end
|
|||||||
return{
|
return{
|
||||||
color=color.red,
|
color=color.red,
|
||||||
env={
|
env={
|
||||||
_20G=true,lock=60,
|
drop=0,lock=60,
|
||||||
freshLimit=15,
|
freshLimit=15,
|
||||||
dropPiece=tech_check_easy,
|
dropPiece=tech_check_easy,
|
||||||
bg="matrix",bgm="down",
|
bg="matrix",bgm="down",
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ function royaleLevelup()
|
|||||||
P.gameEnv.drop=int(P.gameEnv.drop*.3)
|
P.gameEnv.drop=int(P.gameEnv.drop*.3)
|
||||||
if P.gameEnv.drop==0 then
|
if P.gameEnv.drop==0 then
|
||||||
P.curY=P.imgY
|
P.curY=P.imgY
|
||||||
P.gameEnv._20G=true
|
P._20G=true
|
||||||
if P.AI_mode=="CC"then CC_switch20G(P)end
|
if P.AI_mode=="CC"then CC_switch20G(P)end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1171,6 +1171,7 @@ end
|
|||||||
local function applyGameEnv(P)--Finish gameEnv processing
|
local function applyGameEnv(P)--Finish gameEnv processing
|
||||||
local ENV=P.gameEnv
|
local ENV=P.gameEnv
|
||||||
|
|
||||||
|
if ENV.drop==0 then P._20G=true end
|
||||||
P.dropDelay=ENV.drop
|
P.dropDelay=ENV.drop
|
||||||
P.lockDelay=ENV.lock
|
P.lockDelay=ENV.lock
|
||||||
|
|
||||||
@@ -1698,7 +1699,7 @@ function player.freshBlock(P,keepGhost,control,system)
|
|||||||
local ENV=P.gameEnv
|
local ENV=P.gameEnv
|
||||||
if not keepGhost and P.cur then
|
if not keepGhost and P.cur then
|
||||||
P.imgY=min(#P.field+1,P.curY)
|
P.imgY=min(#P.field+1,P.curY)
|
||||||
if ENV._20G or P.keyPressing[7]and ENV.sdarr==0 then
|
if _20G or P.keyPressing[7]and ENV.sdarr==0 then
|
||||||
local _=P.imgY
|
local _=P.imgY
|
||||||
|
|
||||||
--Move ghost to bottom
|
--Move ghost to bottom
|
||||||
@@ -2417,7 +2418,7 @@ do--player.drop(P)--Place piece
|
|||||||
end
|
end
|
||||||
|
|
||||||
--DropSpeed bonus
|
--DropSpeed bonus
|
||||||
if P.gameEnv._20G then
|
if P._20G then
|
||||||
dropScore=dropScore*2
|
dropScore=dropScore*2
|
||||||
elseif P.gameEnv.drop<3 then
|
elseif P.gameEnv.drop<3 then
|
||||||
dropScore=dropScore*1.5
|
dropScore=dropScore*1.5
|
||||||
|
|||||||
Reference in New Issue
Block a user