From cce98072d4a9b60ec021a6e2aafc5d5f54d486d8 Mon Sep 17 00:00:00 2001 From: milimoe Date: Tue, 29 Oct 2024 00:29:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B5=8B=E8=AF=95=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OshimaCore/Utils/FunGameUtil.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/OshimaCore/Utils/FunGameUtil.cs b/OshimaCore/Utils/FunGameUtil.cs index a7e49a9..8ffabc3 100644 --- a/OshimaCore/Utils/FunGameUtil.cs +++ b/OshimaCore/Utils/FunGameUtil.cs @@ -307,7 +307,7 @@ namespace Oshima.Core.Utils // 开始空投 Msg = ""; - 空投(actionQueue, true); + 空投(actionQueue); if (isWeb) result.Add("=== 空投 ===\r\n" + Msg); double 下一次空投 = 80; @@ -506,13 +506,9 @@ namespace Oshima.Core.Utils if (PrintOut) Console.WriteLine(str); } - public static void 空投(ActionQueue queue, bool first = false) + public static void 空投(ActionQueue queue) { Item a = Items[Random.Shared.Next(Items.Count)]; - if (first) - { - a = Items.Where(row => row.Name == "魔能法袍").FirstOrDefault() ?? a; - } Item[] 这次发放的空投 = [a]; WriteLine($"社区送温暖了,现在向所有人发放 [ {a.Name} ]!!"); foreach (Character character in queue.Queue)