|
@@ -298,8 +298,8 @@ namespace GFGGame
|
|
|
{
|
|
|
int partId = FightScoreCfgArray.Instance.dataArray[_index].id;
|
|
|
double partScore = ScoreSystemData.Instance.GetPartItemScore(partId);
|
|
|
- _ui.m_comMineCircle.m_txtCount.text = ((int)partScore).ToString();
|
|
|
- _score += (partScore + _skillScore);
|
|
|
+ _ui.m_comMineCircle.m_txtCount.text = ((int)Math.Round(partScore)).ToString();
|
|
|
+ _score += (int)Math.Round((partScore + _skillScore)); ;
|
|
|
// Debug.Log("zoya: " + "partScore:" + partScore + "_skillScore: " + _skillScore + " _score:" + _score);
|
|
|
// Debug.Log("zoya: " + (int)Math.Round(_score));
|
|
|
EquipDataCache.cacher.totalScore = (int)Math.Round(_score);
|
|
@@ -309,7 +309,7 @@ namespace GFGGame
|
|
|
StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(_levelCfg.fightID);
|
|
|
double targetScore = fightCfg.targetPartsScoreArr[_index] * ConstScoreSystem.PART_SCORE;
|
|
|
// Debug.Log("targetScore:" + targetScore);
|
|
|
- _ui.m_comTargetCircle.m_txtCount.text = ((int)targetScore).ToString();
|
|
|
+ _ui.m_comTargetCircle.m_txtCount.text = ((int)Math.Round(targetScore)).ToString();
|
|
|
_targetScore += targetScore;
|
|
|
EquipDataCache.cacher.npcTotalScore = (int)Math.Round(_targetScore);
|
|
|
|