121212
This commit is contained in:
@@ -80,6 +80,14 @@ public static class GameBus
|
||||
{
|
||||
foreach (var item in Reward)
|
||||
{
|
||||
if (operate == 0)
|
||||
{
|
||||
if (Convert.ToInt32(item.isOp) == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
long num = Convert.ToInt64(item.count) * count;
|
||||
if (num <= 0)
|
||||
{
|
||||
@@ -223,7 +231,7 @@ public static class GameBus
|
||||
else if (item.code == nameof(GameEnum.PropCode.Monster))
|
||||
{
|
||||
var monsterService = App.GetService<IGameMonsterService>();
|
||||
var onCount = await monsterService.GetUserMonsterCount(userId,item.parameter,1);
|
||||
var onCount = await monsterService.GetUserMonsterCount(userId, item.parameter, 1);
|
||||
item.count = item.count;
|
||||
item.onCount = onCount;
|
||||
if (onCount < item.count)
|
||||
|
||||
Reference in New Issue
Block a user