feat:悬赏令添加完成几率
This commit is contained in:
@@ -46,7 +46,7 @@ namespace RoBot.Start.Cmd
|
|||||||
foreach (var want in wantedTasks)
|
foreach (var want in wantedTasks)
|
||||||
{
|
{
|
||||||
msg += $"✨悬赏令 {want.Id} 奖励:{want.ExtraReward.Item}\r\n";
|
msg += $"✨悬赏令 {want.Id} 奖励:{want.ExtraReward.Item}\r\n";
|
||||||
msg += $"🎁修为:{Utils.FormatNumberToChineseUnit(want.BaseReward)}\r\n";
|
msg += $"🎁修为:{Utils.FormatNumberToChineseUnit(want.BaseReward)} ({want.SuccessRate})\r\n";
|
||||||
var goodsInfo = RedisHelper.Client.HGet<GoodsInfo>(RedisPrefix.GoodsKey, want.ExtraReward.Item);
|
var goodsInfo = RedisHelper.Client.HGet<GoodsInfo>(RedisPrefix.GoodsKey, want.ExtraReward.Item);
|
||||||
if (goodsInfo is not null)
|
if (goodsInfo is not null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user