|
@@ -205,7 +205,7 @@ namespace GFGGame
|
|
|
_ui.m_btnSpeedUp.title = "x" + FightDataManager.Instance.fightSpeed;
|
|
|
_ui.m_comClick.m_comAllPerfect.target.visible = false;
|
|
|
// _ui.m_LoaMask.visible = false;
|
|
|
- _ui.m_proScore.m_comBar.target.width = 0;
|
|
|
+ _ui.m_proScore.m_comBar.target.width = _ui.m_proScore.m_comBar.target.width / 2;
|
|
|
_ui.m_btnSkip.visible = InstanceZonesDataManager.FightScene == ConstInstanceZonesType.Arena;
|
|
|
|
|
|
|
|
@@ -220,7 +220,7 @@ namespace GFGGame
|
|
|
_targetMainScore = ScoreSystemData.Instance.GetRobotMainScore(targetData);
|
|
|
}
|
|
|
|
|
|
- _ui.m_proScore.m_txtNpcScore.text = targetData.name + " 0";
|
|
|
+ _ui.m_proScore.m_txtNpcScore.text = " 0";
|
|
|
_targetRoundTimes = ScoreSystemData.Instance.GetRoundTime(targetData.cardId, targetData.skillLvs);
|
|
|
|
|
|
|
|
@@ -540,7 +540,7 @@ namespace GFGGame
|
|
|
_ui.m_proScore.m_txtMineScore.text = " " + _score;
|
|
|
_ui.m_proScore.m_txtNpcScore.text = " " + _targetScore;
|
|
|
|
|
|
- double proportion = _score + _targetScore == 0 ? 0 : _score / (_score + _targetScore);
|
|
|
+ double proportion = _score + _targetScore == 0 ? 0.5 : _score / (_score + _targetScore);
|
|
|
float width = (float)(proportion * _ui.m_proScore.target.width);
|
|
|
width = width > _ui.m_proScore.m_comBar.target.initWidth ? _ui.m_proScore.m_comBar.target.initWidth : width;
|
|
|
GTween.To(_ui.m_proScore.m_comBar.target.width, width, 0.3f).SetTarget(_ui.m_proScore.m_comBar).OnUpdate((GTweener t) =>
|