From 21426b85c6eb463ea995ff051e81dfc1e2efffc6 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期六, 25 五月 2019 16:52:12 +0800
Subject: [PATCH] 3335 炼丹进度显示
---
System/Alchemy/AlchemyDrugProgressBehaviour.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/Alchemy/AlchemyDrugProgressBehaviour.cs b/System/Alchemy/AlchemyDrugProgressBehaviour.cs
index dd4848f..935b599 100644
--- a/System/Alchemy/AlchemyDrugProgressBehaviour.cs
+++ b/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);
}
}
--
Gitblit v1.8.0