【bug风险较大,需要测试】解耦玩家代码中的部分混战模式代码

This commit is contained in:
MrZ626
2021-12-06 16:00:46 +08:00
parent ed002ec2e1
commit 9377090c7c
12 changed files with 28 additions and 62 deletions

View File

@@ -771,7 +771,7 @@ do--function resetGameData(args)
BGM.play(type(bgm)=='string'and bgm or type(bgm)=='table'and bgm[math.random(#bgm)])
TEXT.clear()
if GAME.modeEnv.royaleMode then
if GAME.modeEnv.eventset=='royale'then
for i=1,#PLAYERS do
PLAYERS[i]:changeAtk(randomTarget(PLAYERS[i]))
end