From 827d3794f9488d433984c141965bd6dc216f3e1a Mon Sep 17 00:00:00 2001 From: Cyl18 Date: Tue, 8 May 2018 21:56:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=BE=93=E5=85=89=E7=9A=84?= =?UTF-8?q?=E4=B8=8B=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CardSharp/GameSteps/WaitingParser.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/CardSharp/GameSteps/WaitingParser.cs b/CardSharp/GameSteps/WaitingParser.cs index ae799da..396592f 100644 --- a/CardSharp/GameSteps/WaitingParser.cs +++ b/CardSharp/GameSteps/WaitingParser.cs @@ -15,7 +15,7 @@ public void Parse(Desk desk, Player player, string command) var point = PlayerConfig.GetConfig(player).Point; if (point <= -100000) desk.AddMessage($"CNM 这里是CY 你们的印钞厂停业了."); - else if (point <= 0) + else if (point <= -2000) desk.AddMessage("您输光了/您没输入过‘获取积分’."); else desk.AddPlayer(player); @@ -54,15 +54,17 @@ public void Parse(Desk desk, Player player, string command) if (desk.PlayerList.Count == 3) desk.Start(seed); } - if (command.StartsWith("表演开屎") && PlayerConfig.GetConfig(player).IsAdmin){ - if (desk.Players.Any()){ + if (command.StartsWith("表演开屎") && PlayerConfig.GetConfig(player).IsAdmin) + { + if (desk.Players.Any()) + { desk.AddMessage("有玩家了不可以使用."); return; } - for(int i = 0; i < 3; i++) desk.AddPlayer(new FakePlayer(desk)); + for (int i = 0; i < 3; i++) desk.AddPlayer(new FakePlayer(desk)); desk.Start(); } } } -} +} \ No newline at end of file