| | |
| | | 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)
|
| | |
| | | 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)
|
| | |
|
| | |
| | | 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]:
|
| | |
| | | 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)
|
| | |
| | | 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
|
| | |
|
| | |
|