Skip to content

Commit

Permalink
misc 好友上限改为2000
Browse files Browse the repository at this point in the history
  • Loading branch information
chr233 committed Jun 26, 2024
1 parent 1cb61dd commit d15be73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ASFEnhance/Cart/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ internal static class Command
return bot.FormatBotResponse(Langs.PurchaseCartFailureFinalizeTransactionIsNull);
}

await Task.Delay(2000).ConfigureAwait(false);
await Task.Delay(4000).ConfigureAwait(false);

float nowBalance = bot.WalletBalance;

Expand Down
4 changes: 4 additions & 0 deletions ASFEnhance/Profile/HtmlParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ internal static class HtmlParser
if (uint.TryParse(strLevel, out uint level))
{
maxFriend = 5 * level + 250;
if (maxFriend > 2000)
{
maxFriend = 2000;
}
result.AppendLineFormat(Langs.ProfileLevel, level);
}

Expand Down

0 comments on commit d15be73

Please sign in to comment.