整理代码,royaleData改为全大写,放入globalTables文件全局变量定义

This commit is contained in:
MrZ626
2021-04-22 21:54:40 +08:00
parent 7971eba517
commit 95c9a1d638
10 changed files with 29 additions and 40 deletions

View File

@@ -28,10 +28,8 @@ return{
bg="rainbow",bgm="sugar fairy",
},
load=function()
royaleData={
powerUp={2,6,14,30},
stage={75,50,35,20,10},
}
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 t=CC and 4 or 0