PLAYERS.alive拿出来作为单独变量
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user