play场景改名game,整理代码,重构GAME.frame相关内容,修复联网录像播放不正确
This commit is contained in:
@@ -8,7 +8,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"and P.atkBuffer.sum==0 then
|
||||
if P.control and P.atkBuffer.sum==0 then
|
||||
local p=#P.atkBuffer+1
|
||||
local B,D=P.atkBuffer,P.modeData
|
||||
local t
|
||||
|
||||
@@ -7,7 +7,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"and P.atkBuffer.sum<4 then
|
||||
if P.control and P.atkBuffer.sum<4 then
|
||||
local p=#P.atkBuffer+1
|
||||
local B,D=P.atkBuffer,P.modeData
|
||||
local s
|
||||
|
||||
@@ -9,7 +9,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"then
|
||||
if P.control then
|
||||
local D=P.modeData
|
||||
D.counter=D.counter+1
|
||||
local t=math.max(240-2*D.wave,40)
|
||||
|
||||
@@ -9,7 +9,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"then
|
||||
if P.control then
|
||||
local D=P.modeData
|
||||
D.counter=D.counter+1
|
||||
local t=math.max(360-D.wave*2,60)
|
||||
|
||||
@@ -7,7 +7,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"then
|
||||
if P.control then
|
||||
local D=P.modeData
|
||||
D.timer=D.timer+1
|
||||
if D.timer>=math.max(90,180-D.wave)then
|
||||
|
||||
@@ -6,7 +6,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"then
|
||||
if P.control then
|
||||
local D=P.modeData
|
||||
D.timer=D.timer+1
|
||||
if D.timer>=math.max(30,80-.3*D.wave)then
|
||||
|
||||
@@ -6,7 +6,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"then
|
||||
if P.control then
|
||||
local D=P.modeData
|
||||
D.timer=D.timer+1
|
||||
if D.timer>=math.max(60,150-2*D.wave)and P.atkBuffer.sum<4 then
|
||||
|
||||
@@ -6,7 +6,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"then
|
||||
if P.control then
|
||||
local D=P.modeData
|
||||
D.timer=D.timer+1
|
||||
local B=P.atkBuffer
|
||||
|
||||
@@ -6,7 +6,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"then
|
||||
if P.control then
|
||||
local D=P.modeData
|
||||
D.timer=D.timer+1
|
||||
if D.timer>=math.max(60,150-D.wave)and P.atkBuffer.sum<20 then
|
||||
|
||||
@@ -6,7 +6,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"then
|
||||
if P.control then
|
||||
local D=P.modeData
|
||||
D.timer=D.timer+1
|
||||
if D.timer>=math.max(90,180-2*D.wave)and P.atkBuffer.sum<8 then
|
||||
|
||||
@@ -8,7 +8,7 @@ return{
|
||||
task=function(P)
|
||||
while true do
|
||||
YIELD()
|
||||
if P.control and SCN.cur=="play"then
|
||||
if P.control then
|
||||
local D=P.modeData
|
||||
D.timer=D.timer+1
|
||||
if D.timer>=math.max(300,600-10*D.wave)and P.atkBuffer.sum<20 then
|
||||
|
||||
Reference in New Issue
Block a user