From 7154c21796f9accc3260c358f046a601a2c24ca4 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 17 三月 2026 11:31:13 +0800
Subject: [PATCH] 263 【主界面】头像系统(内政-幻境阁系统)-服务端(形象、头像 增加关联武将皮肤解锁方式4;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py | 4 +++-
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHJG.py | 3 +++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
index c125f37..58f9c25 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFace.py
@@ -186,7 +186,9 @@
if unlockWay == 3: # 关联武将
heroID = unlockValue
return True if PlayerHero.GetHeroActivite(curPlayer, heroID) else False
-
+ if unlockWay == 4: # 关联武将皮肤
+ skinID = unlockValue
+ return True if PlayerHero.GetHeroSkinState(curPlayer, skinID) else False
return False
def RefreshFaceAttr(curPlayer):
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHJG.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHJG.py
index e5fb874..a00f7ee 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHJG.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHJG.py
@@ -698,6 +698,9 @@
if unlockWay == 3: # 关联武将
heroID = unlockValue
return True if PlayerHero.GetHeroActivite(curPlayer, heroID) else False
+ if unlockWay == 4: # 关联武将皮肤
+ skinID = unlockValue
+ return True if PlayerHero.GetHeroSkinState(curPlayer, skinID) else False
return False
--
Gitblit v1.8.0