对战细节调整

This commit is contained in:
lishuo committed 2022-05-18 10:39:35 +08:00
1 parent d77ed1bad1
commit aa9a4080fe
4 files changed
+182 -89

No files matched your search

+5 -5
View File
@@ -100,7 +100,7 @@ namespace OnlineUserPool.Hander
// targetData._Cadence.ToString()
//};
var weightKg = 0.0D;
if(targetData._Power >= 0)
if (targetData._Power >= 0)
{
weightKg = Math.Round(targetData._Power / item.Weight, 2);
}
@@ -143,11 +143,11 @@ namespace OnlineUserPool.Hander
PreDistance = item.GetPreDistance()
};
msgModels.Add(info);
}
}
catch (Exception e)
{
Log.Error("加载虚拟人物错误:" + e.Message + "\r\n" + e.StackTrace);
}
{
Log.Error("加载虚拟人物错误:" + e.Message + "\r\n" + e.StackTrace);
}
}
}
return msgModels;