少年修仙传客户端代码仓库
client_linchunjie
2018-08-29 e1b3c20df012f89b4022296a3ddff73da951e855
2960 抢Boss活动
2个文件已修改
4 ■■■■ 已修改文件
System/FairyAu/FairyGrabBossBehaviour.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/FairyGrabBossHintWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/FairyGrabBossBehaviour.cs
@@ -95,7 +95,7 @@
            bool opened = model.InActivityTime;
            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 = (float)bossProgress.currentHp / bossProgress.totalHp >= 1;
            }
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;
            }