From 67af32634bde7e175fcf35240be4e69b0ac1d169 Mon Sep 17 00:00:00 2001 From: milimoe Date: Tue, 1 Jul 2025 00:20:07 +0800 Subject: [PATCH] fix bug --- OshimaServers/Service/FunGameConstant.cs | 8 ++++---- OshimaWebAPI/Controllers/FunGameController.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OshimaServers/Service/FunGameConstant.cs b/OshimaServers/Service/FunGameConstant.cs index bf20f1c..4720a8d 100644 --- a/OshimaServers/Service/FunGameConstant.cs +++ b/OshimaServers/Service/FunGameConstant.cs @@ -302,10 +302,10 @@ namespace Oshima.FunGame.OshimaServers.Service public static Dictionary ExploreResultProbabilities { get; } = new() { - { ExploreResult.General, 40 }, - { ExploreResult.Nothing, 20 }, - { ExploreResult.Fight, 20 }, - { ExploreResult.Earned, 20 }, + { ExploreResult.General, 0.4 }, + { ExploreResult.Nothing, 0.2 }, + { ExploreResult.Fight, 0.2 }, + { ExploreResult.Earned, 0.2 }, { ExploreResult.Event, 0 } }; diff --git a/OshimaWebAPI/Controllers/FunGameController.cs b/OshimaWebAPI/Controllers/FunGameController.cs index be4b15a..bdb78f3 100644 --- a/OshimaWebAPI/Controllers/FunGameController.cs +++ b/OshimaWebAPI/Controllers/FunGameController.cs @@ -2535,7 +2535,7 @@ namespace Oshima.FunGame.WebAPI.Controllers { exploreTimes = FunGameConstant.MaxExploreTimes + itemCount; } - pc.Add("exploreTimes", exploreTimes); + pc2.Add("exploreTimes", exploreTimes); msg = $"已为 [ {user2} ] 生成 {itemCount} 个探索许可"; } else if (itemName.Contains("魔法卡礼包"))