整理代码,略微优化性能,调整玩家攻击力和框颜色相关代码,联网对战每分钟会增加攻击力

This commit is contained in:
MrZ626
2021-05-10 14:40:55 +08:00
parent dd682a4e6a
commit ee4ca51aff
14 changed files with 97 additions and 92 deletions

View File

@@ -94,7 +94,7 @@ local function newEmptyPlayer(id,mini)
a=0,va=0,
}
P.x,P.y,P.size=0,0,1
P.frameColor=0
P.frameColor=COLOR.Z
--Set these at Player:setPosition()
-- P.fieldX,P.fieldY=...