From e1b3c20df012f89b4022296a3ddff73da951e855 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 29 八月 2018 11:45:57 +0800
Subject: [PATCH] 2960 抢Boss活动
---
System/FairyAu/FairyGrabBossHintWin.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/FairyAu/FairyGrabBossHintWin.cs b/System/FairyAu/FairyGrabBossHintWin.cs
index 5f05fa0..4512f96 100644
--- a/System/FairyAu/FairyGrabBossHintWin.cs
+++ b/System/FairyAu/FairyGrabBossHintWin.cs
@@ -121,7 +121,7 @@
bool killed = false;
if (model.TryGetBossProgress(bossId, out bossProgress))
{
- var progress = (float)bossProgress.currentHp / bossProgress.totalHp;
+ var progress = 1 - (float)bossProgress.currentHp / bossProgress.totalHp;
m_Progress.text = StringUtility.Contact((int)(progress * 100), "%");
killed = progress >= 1;
}
--
Gitblit v1.8.0