From 43eea3dbf8570e6fbdc1df7bb9725f9762a8b256 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 05 九月 2024 12:02:24 +0800
Subject: [PATCH] 10240 【越南】【砍树】古宝养成 - 同步秘境排行榜
---
System/RankAction/SecretPlaceRankCell.cs | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/System/RankAction/SecretPlaceRankCell.cs b/System/RankAction/SecretPlaceRankCell.cs
index c0b11dc..30648b2 100644
--- a/System/RankAction/SecretPlaceRankCell.cs
+++ b/System/RankAction/SecretPlaceRankCell.cs
@@ -68,14 +68,22 @@
}
else
{
- int needScoreEx = 0;
- Dictionary<int, ActBillboardAwards> rankAwardInfo = model.operationCrossAct.rankInfo;
- var dataIndex = model.GetRankDataIndex(index, rankAwardInfo);
- if (rankAwardInfo.ContainsKey(dataIndex))
- needScoreEx = rankAwardInfo[dataIndex].needScore;
+
+ if (model.SelectRank == 1)
+ {
+ int needScoreEx = 0;
+ Dictionary<int, ActBillboardAwards> rankAwardInfo = model.operationCrossAct.rankInfo;
+ var dataIndex = model.GetRankDataIndex(index, rankAwardInfo);
+ if (rankAwardInfo.ContainsKey(dataIndex))
+ needScoreEx = rankAwardInfo[dataIndex].needScore;
+ numText.text = needScoreEx == 0 ? "0" : Language.Get("RankInfo4") + needScoreEx;
+ }
+ else
+ {
+ numText.text = "0";
+ }
nameText.text = Language.Get("L1046");
- numText.text = needScoreEx == 0 ? "0" : Language.Get("RankInfo2") + needScoreEx;
headIcon.SetPlayerHeadIcon(1); //榛樿澶村儚
serverNameText.text = string.Empty;
}
--
Gitblit v1.8.0