From bf762e5ceb6b6c4864d407e3fcfbb37431d6ef20 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 18 三月 2026 17:36:08 +0800
Subject: [PATCH] 525 子 【挑战】PVP群英榜 / 【挑战】PVP群英榜-前端 - 修复形象显示问题
---
Main/System/Qunying/QYFighterCell.cs | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/Main/System/Qunying/QYFighterCell.cs b/Main/System/Qunying/QYFighterCell.cs
index 8c02e86..581581e 100644
--- a/Main/System/Qunying/QYFighterCell.cs
+++ b/Main/System/Qunying/QYFighterCell.cs
@@ -134,12 +134,16 @@
fightPowerText.text = UIHelper.ReplaceLargeArtNum(matchInfo.FightPower);
officialTitleCell.InitUI(matchInfo.RealmLV, (int)matchInfo.TitleID);
- int modelMark = (int)matchInfo.ModelMark;
- if (modelMark == 0)
+ int heroSkinID = 0;
+ if (matchInfo.ModelMark == 0)
{
- modelMark = QunyingManager.Instance.robotModelIDs[matchInfo.PlayerID % QunyingManager.Instance.robotModelIDs.Length];
+ heroSkinID = QunyingManager.Instance.robotModelIDs[matchInfo.PlayerID % QunyingManager.Instance.robotModelIDs.Length];
}
- model.Create((int)matchInfo.EquipShowSwitch % 1000, modelMark, 0.9f);
+ else
+ {
+ heroSkinID = PhantasmPavilionManager.Instance.GetModelSkinID((int)matchInfo.ModelMark);
+ }
+ model.Create((int)matchInfo.EquipShowSwitch % 1000, heroSkinID, 0.9f);
rankText.text = matchInfo.Rank > 0 ? $"{matchInfo.Rank}" : Language.Get("L1125");
myMark.SetActive(matchInfo.PlayerID == PlayerDatas.Instance.baseData.PlayerID);
--
Gitblit v1.8.0