Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

Commit

Permalink
取消获取积分上限
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealKamisama committed May 18, 2018
1 parent 3378e7d commit adfd301
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions CardSharp/GameSteps/StandardParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,9 @@ public void Parse(Desk desk, Player player, string command)
case "获取积分":
var px = DateTime.Now - pconfig.LastTime;
if (px.TotalSeconds.Seconds() > 12.Hours())
{
if (pconfig.Point > 50000)
{
desk.AddMessage($"你超过了领取积分的上限");
}
else
{
pconfig.AddPoint();
desk.AddMessage($"领取成功. 你当前积分为{pconfig.Point}");
}
{
pconfig.AddPoint();
desk.AddMessage($"领取成功. 你当前积分为{pconfig.Point}");
}
else
{
Expand Down

0 comments on commit adfd301

Please sign in to comment.