PLAYERS.alive拿出来作为单独变量

This commit is contained in:
MrZ626
2021-03-29 11:40:36 +08:00
parent c0736132b1
commit ee02013fa5
19 changed files with 54 additions and 53 deletions

View File

@@ -71,7 +71,7 @@ return{
PLY.newAIPlayer(2,AIBUILDER("CC",2*AIlevel-1,math.floor(AIlevel*.5+1),true,20000+5000*AIlevel))
end
for _,P in next,PLAYERS.alive do
for _,P in next,PLY_ALIVE do
setField(P,1)
end
end,

View File

@@ -1,5 +1,5 @@
local function update_round(P)
if #PLAYERS.alive>1 then
if #PLY_ALIVE>1 then
P.control=false
local ID=P.id
repeat

View File

@@ -1,5 +1,5 @@
local function update_round(P)
if #PLAYERS.alive>1 then
if #PLY_ALIVE>1 then
P.control=false
local ID=P.id
repeat

View File

@@ -1,5 +1,5 @@
local function update_round(P)
if #PLAYERS.alive>1 then
if #PLY_ALIVE>1 then
P.control=false
local ID=P.id
repeat

View File

@@ -1,5 +1,5 @@
local function update_round(P)
if #PLAYERS.alive>1 then
if #PLY_ALIVE>1 then
P.control=false
local ID=P.id
repeat

View File

@@ -1,5 +1,5 @@
local function update_round(P)
if #PLAYERS.alive>1 then
if #PLY_ALIVE>1 then
P.control=false
local ID=P.id
repeat

View File

@@ -59,7 +59,7 @@ return{
end,
mesDisp=function(P)
setFont(35)
mStr(#PLAYERS.alive.."/49",69,175)
mStr(#PLY_ALIVE.."/49",69,175)
mStr(P.modeData.ko,80,215)
gc.draw(drawableText.ko,60-drawableText.ko:getWidth(),222)
setFont(20)

View File

@@ -59,7 +59,7 @@ return{
end,
mesDisp=function(P)
setFont(35)
mStr(#PLAYERS.alive.."/49",69,175)
mStr(#PLY_ALIVE.."/49",69,175)
mStr(P.modeData.ko,80,215)
gc.draw(drawableText.ko,60-drawableText.ko:getWidth(),222)
setFont(20)

View File

@@ -59,7 +59,7 @@ return{
end,
mesDisp=function(P)
setFont(35)
mStr(#PLAYERS.alive.."/49",69,175)
mStr(#PLY_ALIVE.."/49",69,175)
mStr(P.modeData.ko,80,215)
gc.draw(drawableText.ko,60-drawableText.ko:getWidth(),222)
setFont(20)

View File

@@ -59,7 +59,7 @@ return{
end,
mesDisp=function(P)
setFont(35)
mStr(#PLAYERS.alive.."/99",69,175)
mStr(#PLY_ALIVE.."/99",69,175)
mStr(P.modeData.ko,80,215)
gc.draw(drawableText.ko,60-drawableText.ko:getWidth(),222)
setFont(20)

View File

@@ -59,7 +59,7 @@ return{
end,
mesDisp=function(P)
setFont(35)
mStr(#PLAYERS.alive.."/99",69,175)
mStr(#PLY_ALIVE.."/99",69,175)
mStr(P.modeData.ko,80,215)
gc.draw(drawableText.ko,60-drawableText.ko:getWidth(),222)
setFont(20)

View File

@@ -59,7 +59,7 @@ return{
end,
mesDisp=function(P)
setFont(35)
mStr(#PLAYERS.alive.."/99",69,175)
mStr(#PLY_ALIVE.."/99",69,175)
mStr(P.modeData.ko,80,215)
gc.draw(drawableText.ko,60-drawableText.ko:getWidth(),222)
setFont(20)