少年修仙传客户端代码仓库
client_linchunjie
2019-05-25 21426b85c6eb463ea995ff051e81dfc1e2efffc6
3335 炼丹进度显示
1个文件已修改
2 ■■■■■ 已修改文件
System/Alchemy/AlchemyDrugProgressBehaviour.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Alchemy/AlchemyDrugProgressBehaviour.cs
@@ -63,7 +63,7 @@
                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);
                m_Progress.fillAmount = 1 - Mathf.Clamp01(seconds / config.NeedTime);
            }
        }