From cc1f0cf4835adc4ac99e05d6fc718b65291bb476 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 27 五月 2024 11:58:10 +0800
Subject: [PATCH] 10162 后台优化(查询玩家增加 代金券显示)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetCrossPK.py | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 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 b0f8b89..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)
@@ -74,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]:
@@ -115,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-积分,3-奖励等级")
+ GameWorld.DebugAnswer(curPlayer, "当前连败次数: %s" % curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CrossPK_CLoseCount))
return
--
Gitblit v1.8.0