From 93b9eeb26ca7e7e1af5855d3a73520a0117bc1fb Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 12 九月 2024 17:01:41 +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 cd82528..1d7f145 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
@@ -127,7 +127,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