From cdb001b8065cf4bcfe63b82bf8c03ae48b362e7b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 19 三月 2026 12:02:09 +0800
Subject: [PATCH] 493 【活动内容】武将登场-服务端(招募武将非首次获得不广播设定仅针对常规招募;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTask.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTask.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTask.py
index ec81f6a..d543b7f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTask.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTask.py
@@ -47,7 +47,7 @@
if taskID not in taskIDList:
taskIDList.append(taskID)
IpyGameDataPY.SetConfigEx(key, taskIDListDict)
- GameWorld.Log("任务ID列表: %s" % taskIDListDict)
+ #GameWorld.Log("任务ID列表: %s" % taskIDListDict)
return taskIDListDict.get(taskGroup, [])
def OnPlayerLogin(curPlayer):
@@ -213,6 +213,9 @@
equipCnt += 1
taskValue = equipCnt
+ elif taskType == ChConfig.TaskType_Rename:
+ taskValue = 1 if curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Rename) else 0
+
return taskValue
def UpdTaskValue(curPlayer, taskType):
--
Gitblit v1.8.0