From 4e3d1ff7e0b98fc18b0b6e63e449f3d7577c0ba6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 05 十一月 2025 11:16:31 +0800
Subject: [PATCH] 16 卡牌服务端(功能开启增加开服天条件支持;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py
index 85b0bd2..d4335a8 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py
@@ -19,22 +19,17 @@
import PlayerControl
import NetPackCommon
import IpyGameDataPY
-import PlayerActivity
import ChPyNetSendPack
import CrossRealmPlayer
import PlayerTongTianLing
-import FunctionNPCCommon
-import PlayerActGarbageSorting
import DataRecordPack
import PlayerWeekParty
import IPY_GameWorld
import ItemControler
-import PlayerSuccess
import ItemCommon
import GameWorld
import ChConfig
import GameObj
-import PlayerGubao
def DoPlayerOnDay(curPlayer):
if GameWorld.IsCrossServer():
@@ -87,8 +82,7 @@
def IsCrossRealmPKMatchState():
## 跨服PK匹配赛是否开启
- return GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_CrossDailyActionState \
- % ShareDefine.DailyActionID_CrossReamPK) == ChConfig.Def_Action_Open
+ return False
def GetCrossPKDanAwardIpyData(seasonID, awardDanLV, isLog):
## 获取跨服段位奖励配置信息
@@ -190,7 +184,7 @@
SyncCrossRealmPKAwardState(curPlayer)
# 重置商店物品
- FunctionNPCCommon.ShopItemOnCrossPKSeasonChange(curPlayer)
+ #FunctionNPCCommon.ShopItemOnCrossPKSeasonChange(curPlayer)
return True
#// C1 01 跨服PK匹配 #tagCMCrossRealmPKMatch
@@ -359,12 +353,7 @@
todayWinCount = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CrossPK_TodayWinCount) + 1
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_TodayWinCount, todayWinCount)
GameWorld.Log(" 增加今日已获胜次数: todayWinCount=%s" % todayWinCount, playerID)
- PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_CrossReamPK)
PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_CrossPK, 1)
- PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_FeastRedPack_CrossPK, 1)
- PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_CrossPK, 1)
- PlayerGubao.AddGubaoItemEffValue(curPlayer, PlayerGubao.GubaoEffType_CrossRealmPK, 1)
- PlayerActGarbageSorting.AddActGarbageTaskProgress(curPlayer, ChConfig.Def_GarbageTask_CrossPK)
PlayerTongTianLing.AddTongTianTaskValue(curPlayer, ChConfig.TTLTaskType_CrossPK, 1)
else:
GameWorld.Log(" 不同天的PK结算不增加今日PK次数! ", playerID)
--
Gitblit v1.8.0