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