From c6eda45ce726796d523c6a6f624fc60c30b4b40b Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 28 十二月 2018 22:07:36 +0800 Subject: [PATCH] 5424 【后端】【1.4】跨服竞技场开发(匹配成功增加对手最大护盾值通知;增加天梯每日修行点支持) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py | 3 +++ 1 files changed, 3 insertions(+), 0 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 b8d1eba..c55e59c 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossRealmPK.py @@ -19,6 +19,7 @@ import PlayerControl import NetPackCommon import IpyGameDataPY +import PlayerActivity import ChPyNetSendPack import CrossRealmPlayer import FunctionNPCCommon @@ -237,6 +238,7 @@ "playerJob":curPlayer.GetJob(), "playerLV":curPlayer.GetLV(), "maxHP":curPlayer.GetMaxHP(), + "maxProDef":PlayerControl.GetMaxProDef(curPlayer), "fightPower":curPlayer.GetFightPower(), "realmLV":curPlayer.GetOfficialRank(), "pkScore":curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CrossPK_TotalScore), # 当前积分 @@ -301,6 +303,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) else: GameWorld.Log(" 不同天的PK结算不增加今日PK次数! ", playerID) -- Gitblit v1.8.0