From 35b255bd2c9451e49ca5dc7620627d1591930e18 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期五, 24 四月 2026 16:47:24 +0800
Subject: [PATCH] 262 幻境阁 支持解锁途径5形象解锁,对应头像解锁

---
 Main/System/PhantasmPavilion/PhantasmPavilionUnlockButton.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/Main/System/PhantasmPavilion/PhantasmPavilionUnlockButton.cs b/Main/System/PhantasmPavilion/PhantasmPavilionUnlockButton.cs
index 78d9b25..9945047 100644
--- a/Main/System/PhantasmPavilion/PhantasmPavilionUnlockButton.cs
+++ b/Main/System/PhantasmPavilion/PhantasmPavilionUnlockButton.cs
@@ -49,6 +49,15 @@
                     return;
                 }
             }
+            else if (unlockWay == 5) // 濡傛灉鏄舰璞¤В閿�
+            {
+                bool hasModel = manager.IsUnlock(PhantasmPavilionType.Model, unlockValue);
+                if (!hasModel)
+                {
+                    SysNotifyMgr.Instance.ShowTip("UnLockFail1"); // 鍙互鏍规嵁闇�瑕佹崲鎴愬搴旂殑璇█鍖� Key锛屽 "褰㈣薄鏈В閿�"
+                    return;
+                }
+            }
             manager.SendOPPack(type, PhantasmPavilionOperation.Activate, (uint)id);
             SysNotifyMgr.Instance.ShowTip("UnLockSuccess");
         });

--
Gitblit v1.8.0