From d7a414309f4c8ef1eb0076419f33f708ca15b1d8 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 09 九月 2024 17:34:44 +0800
Subject: [PATCH] 10261 去除仙盟刷新GetExtra6属性验证;10249 修复Xiangong命令报错;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py  |    2 +-
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Xiangong.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Xiangong.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Xiangong.py
index 12ecdaf..4f1a805 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Xiangong.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Xiangong.py
@@ -55,7 +55,7 @@
             for keyNum in range(50):
                 PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TiandaoAward % keyNum, 0)
             PlayerXiangong.SyncTiandaoTreeInfo(curPlayer)
-            GameWorld.DebugAnswer(curPlayer, "重置气运奖励:%s" % xiangongIDList)
+            GameWorld.DebugAnswer(curPlayer, "重置气运奖励!")
             
         return
     
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
index e9a3999..8785641 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
@@ -128,7 +128,7 @@
     if curPlayer.GetFamilyLastWeekActiveValue() != refreshPack.GetLastWeekFamilyActiveValue():
         curPlayer.SetFamilyLastWeekActiveValue(refreshPack.GetLastWeekFamilyActiveValue())
         
-    if hasattr(refreshPack, "GetExtra6") and PlayerControl.GetFamilyEmblemID(curPlayer) != refreshPack.GetExtra6():
+    if PlayerControl.GetFamilyEmblemID(curPlayer) != refreshPack.GetExtra6():
         PlayerControl.SetFamilyEmblemID(curPlayer, refreshPack.GetExtra6())
         
     #---处理特殊逻辑, 进入退出家族---

--
Gitblit v1.8.0