From 735b28f37122bc5bb87c52806df1f5299085c89b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 14 八月 2024 15:58:16 +0800
Subject: [PATCH] 10238 【越南】【砍树】【主干】【港台】骑宠养成(增加骑宠养成活动;任务活动增加骑宠活动相关任务类型;商城增加可配置不重置限购次数;增加境界培养卡道具效果;增加法器生命、攻击、防御百分比属性;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetCrossPK.py |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetCrossPK.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetCrossPK.py
index b395c93..da34ebb 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetCrossPK.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetCrossPK.py
@@ -46,6 +46,7 @@
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_PKCount, 0)
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_WinCount, 0)
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_CWinCount, 0)
+        PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_CLoseCount, 0)
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_TodayPKCount, 0)
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_TodayWinCount, 0)
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_TodayBuyCount, 0)
@@ -57,6 +58,7 @@
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_SeasonID, 0)
         for i in xrange(1, 20):
             PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_SeasonDanLV % i, 0)
+            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_SeasonScore % i, 0)
             PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_SeasonOrder % i, 0)
             PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CrossPK_SeasonAwardLV % i, 0)
             
@@ -73,9 +75,10 @@
                        3:[ChConfig.Def_PDict_CrossPK_PKCount, "PK次数"],
                        4:[ChConfig.Def_PDict_CrossPK_WinCount, "胜利次数"],
                        5:[ChConfig.Def_PDict_CrossPK_CWinCount, "连胜次数"],
-                       6:[ChConfig.Def_PDict_CrossPK_TodayPKCount, "今日PK次数"],
-                       7:[ChConfig.Def_PDict_CrossPK_TodayWinCount, "今日胜利次数"],
-                       8:[ChConfig.Def_PDict_CrossPK_TodayBuyCount, "今日购买次数"],
+                       6:[ChConfig.Def_PDict_CrossPK_CLoseCount, "连败次数"],
+                       7:[ChConfig.Def_PDict_CrossPK_TodayPKCount, "今日PK次数"],
+                       8:[ChConfig.Def_PDict_CrossPK_TodayWinCount, "今日胜利次数"],
+                       9:[ChConfig.Def_PDict_CrossPK_TodayBuyCount, "今日购买次数"],
                        }
         indexList = range(len(msgList))
         for i in indexList[::2]:
@@ -97,7 +100,8 @@
         seasonID, setType, value = msgList
         setTypeDict = {0:[ChConfig.Def_PDict_CrossPK_SeasonDanLV, "段位"],
                        1:[ChConfig.Def_PDict_CrossPK_SeasonOrder, "名次"],
-                       2:[ChConfig.Def_PDict_CrossPK_SeasonAwardLV, "奖励等级"],
+                       2:[ChConfig.Def_PDict_CrossPK_SeasonScore, "积分"],
+                       3:[ChConfig.Def_PDict_CrossPK_SeasonAwardLV, "奖励等级"],
                        }
         if setType not in setTypeDict:
             __PrintHelp(curPlayer)
@@ -113,10 +117,11 @@
 def __PrintHelp(curPlayer):
     GameWorld.DebugAnswer(curPlayer, "重置数据: SetCrossPK 0")
     GameWorld.DebugAnswer(curPlayer, "设置数据: SetCrossPK 类型  值")
-    GameWorld.DebugAnswer(curPlayer, "类型:0-积分,1-过天积分,2-段位,3-PK次数,4-胜利次数,5-连胜次数")
-    GameWorld.DebugAnswer(curPlayer, "6-今日PK次数,7-今日胜利次数,8-今日购买次数")
+    GameWorld.DebugAnswer(curPlayer, "类型:0-积分,1-过天积分,2-段位,3-PK次数,4-胜利次数,5-连胜次数,6-连败次数")
+    GameWorld.DebugAnswer(curPlayer, "7-今日PK次数,8-今日胜利次数,9-今日购买次数")
     GameWorld.DebugAnswer(curPlayer, "设置历史记录: SetCrossPK 赛季ID 类型 数值")
-    GameWorld.DebugAnswer(curPlayer, "类型:0-段位,1-名次,2-奖励等级")
+    GameWorld.DebugAnswer(curPlayer, "类型:0-段位,1-名次,2-积分,3-奖励等级")
+    GameWorld.DebugAnswer(curPlayer, "当前连败次数: %s" % curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CrossPK_CLoseCount))
     return
 
 

--
Gitblit v1.8.0