少年修仙传客户端代码仓库
client_linchunjie
2019-05-25 c0cd0adabde50cceda458aec8c86821f66ce5ac7
3335 炼丹进度显示问题
1个文件已修改
2 ■■■■■ 已修改文件
System/Alchemy/AlchemyDrugProgressBehaviour.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Alchemy/AlchemyDrugProgressBehaviour.cs
@@ -60,7 +60,7 @@
            uint tick = 0;
            if (model.TryGetAlchemyStartTime(alchemyId, out tick))
            {
                var config = AlchemyConfig.Get(model.selectAlchemy);
                var config = AlchemyConfig.Get(alchemyId);
                var startTime = TimeUtility.GetTime(tick);
                var seconds = (float)(TimeUtility.ServerNow - startTime).TotalSeconds;
                m_Progress.fillAmount = Mathf.Clamp01(seconds / config.NeedTime);