整 理 代 码
(应该没有改到字符串里面的东西吧…)起码不直接影响运行
This commit is contained in:
@@ -12,18 +12,18 @@ return{
|
||||
ROYALEDATA.powerUp={2,6,14,30}
|
||||
ROYALEDATA.stage={75,50,35,20,10}
|
||||
PLY.newPlayer(1)
|
||||
local L={}for i=1,100 do L[i]=true end
|
||||
local L={} for i=1,100 do L[i]=true end
|
||||
local t=4
|
||||
while t>0 do
|
||||
local r=math.random(2,99)
|
||||
if L[r]then
|
||||
if L[r] then
|
||||
L[r]=false
|
||||
t=t-1
|
||||
end
|
||||
end
|
||||
local n=2
|
||||
for _=1,7 do for _=1,7 do
|
||||
if L[n]then
|
||||
if L[n] then
|
||||
PLY.newAIPlayer(n,BOT.template{type='9S',speedLV=math.random(4,6),hold=true},true)
|
||||
else
|
||||
PLY.newAIPlayer(n,BOT.template{type='CC',speedLV=math.random(2,4),next=2,hold=true,node=20000},true)
|
||||
@@ -31,7 +31,7 @@ return{
|
||||
n=n+1
|
||||
end end
|
||||
for _=15,21 do for _=1,7 do
|
||||
if L[n]then
|
||||
if L[n] then
|
||||
PLY.newAIPlayer(n,BOT.template{type='9S',speedLV=math.random(4,5),hold=true},true)
|
||||
else
|
||||
PLY.newAIPlayer(n,BOT.template{type='CC',speedLV=math.random(3,5),next=2,hold=true,node=20000},true)
|
||||
@@ -39,9 +39,9 @@ return{
|
||||
n=n+1
|
||||
end end
|
||||
end,
|
||||
score=function(P)return{P.modeData.place,P.modeData.ko}end,
|
||||
scoreDisp=function(D)return"NO."..D[1].." KO:"..D[2]end,
|
||||
comp=function(a,b)return a[1]<b[1]or a[1]==b[1]and a[2]>b[2]end,
|
||||
score=function(P) return{P.modeData.place,P.modeData.ko} end,
|
||||
scoreDisp=function(D) return"NO."..D[1].." KO:"..D[2] end,
|
||||
comp=function(a,b) return a[1]<b[1] or a[1]==b[1] and a[2]>b[2] end,
|
||||
getRank=function(P)
|
||||
local R=P.modeData.place
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user