From fbc7b73be513ac507ad43f1586c8f6f865049d0d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 03 十二月 2025 11:18:00 +0800
Subject: [PATCH] 358 【内政】红颜系统-服务端(游历裂纹改为指定物品奖励必定出现;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py
index f38164d..7469282 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py
@@ -35,10 +35,10 @@
     
 #成就完成进度
 def GetSuccValue(curPlayer, succType, conds):
-    condition = "" if not conds else str(conds).replace(" ", "")[1:-1]
+    condition = "" if not conds else str(list(conds)).replace(" ", "")[1:-1]
     return curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_SuccessValue % (succType, condition))
 def SetSuccValue(curPlayer, succType, conds, value):
-    condition = "" if not conds else str(conds).replace(" ", "")[1:-1]
+    condition = "" if not conds else str(list(conds)).replace(" ", "")[1:-1]
     PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_SuccessValue % (succType, condition), value)
     return
 
@@ -292,8 +292,8 @@
         for index in range(ipyDataMgr.GetSuccessCount()):
             ipyData = ipyDataMgr.GetSuccessByIndex(index)
             # 已领取的不发 
-            if GetSuccHasGot(curPlayer, ipyData.GetSuccID()):
-                continue
+            #if GetSuccHasGot(curPlayer, ipyData.GetSuccID()):
+            #    continue
             succType = ipyData.GetSuccType()
             conds = ipyData.GetCondition()
             tcList = [succType, conds]

--
Gitblit v1.8.0