forked from Oshima-Studios/OshimaGameModule
fix bug
This commit is contained in:
parent
5447c6fe97
commit
67af32634b
@ -302,10 +302,10 @@ namespace Oshima.FunGame.OshimaServers.Service
|
|||||||
|
|
||||||
public static Dictionary<ExploreResult, double> ExploreResultProbabilities { get; } = new()
|
public static Dictionary<ExploreResult, double> ExploreResultProbabilities { get; } = new()
|
||||||
{
|
{
|
||||||
{ ExploreResult.General, 40 },
|
{ ExploreResult.General, 0.4 },
|
||||||
{ ExploreResult.Nothing, 20 },
|
{ ExploreResult.Nothing, 0.2 },
|
||||||
{ ExploreResult.Fight, 20 },
|
{ ExploreResult.Fight, 0.2 },
|
||||||
{ ExploreResult.Earned, 20 },
|
{ ExploreResult.Earned, 0.2 },
|
||||||
{ ExploreResult.Event, 0 }
|
{ ExploreResult.Event, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -2535,7 +2535,7 @@ namespace Oshima.FunGame.WebAPI.Controllers
|
|||||||
{
|
{
|
||||||
exploreTimes = FunGameConstant.MaxExploreTimes + itemCount;
|
exploreTimes = FunGameConstant.MaxExploreTimes + itemCount;
|
||||||
}
|
}
|
||||||
pc.Add("exploreTimes", exploreTimes);
|
pc2.Add("exploreTimes", exploreTimes);
|
||||||
msg = $"已为 [ {user2} ] 生成 {itemCount} 个探索许可";
|
msg = $"已为 [ {user2} ] 生成 {itemCount} 个探索许可";
|
||||||
}
|
}
|
||||||
else if (itemName.Contains("魔法卡礼包"))
|
else if (itemName.Contains("魔法卡礼包"))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user