所有的“完成目标”胜利将会杀死其他玩家,使联网房间能进行部分单机模式的竞技
This commit is contained in:
@@ -2292,6 +2292,13 @@ function Player:win(result)
|
||||
self.modeData.place=1
|
||||
self:changeAtk()
|
||||
end
|
||||
if result=='finish'then
|
||||
for i=#PLY_ALIVE,1,-1 do
|
||||
if PLY_ALIVE[i]~=self then
|
||||
PLY_ALIVE[i]:lose()
|
||||
end
|
||||
end
|
||||
end
|
||||
if self.type=='human'then
|
||||
GAME.result=result or'gamewin'
|
||||
SFX.play('win')
|
||||
|
||||
Reference in New Issue
Block a user