feat: 秘境时间设置为向上取整
This commit is contained in:
@@ -72,7 +72,7 @@ namespace RoBot.Start.Cmd
|
||||
{
|
||||
if (double.TryParse(match.Groups[1].Value, NumberStyles.Float, CultureInfo.InvariantCulture, out double val))
|
||||
{
|
||||
return (int)Math.Round(val);
|
||||
return (int)Math.Ceiling(val);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user