From 5d7c40ddd0f7a7589f5dd2e7835de8094f63d803 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 04 十二月 2018 15:16:53 +0800
Subject: [PATCH] 1 已删除 PyNetPack
---
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/HelpCheckInInfo.py | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/HelpCheckInInfo.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/HelpCheckInInfo.py
index 2b8cd1e..4a6c378 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/HelpCheckInInfo.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/HelpCheckInInfo.py
@@ -33,21 +33,12 @@
if not gmList or len(gmList) < 2:
GameWorld.DebugAnswer(curPlayer, "-------------------------------")
GameWorld.DebugAnswer(curPlayer, "查看登记信息: HelpCheckInInfo")
- GameWorld.DebugAnswer(curPlayer, "设置已登记次数: HelpCheckInInfo 1 x")
- GameWorld.DebugAnswer(curPlayer, "设置今日仙缘币: HelpCheckInInfo 2 x")
GameWorld.DebugAnswer(curPlayer, "设置今日助战数: HelpCheckInInfo 地图 线路 次数")
__PrintCheckInInfo(curPlayer, helpBattlePlayer)
return
- setType = gmList[0]
- if setType == 1:
- helpBattlePlayer.checkInCount = gmList[1]
- GameWorld.DebugAnswer(curPlayer, "设置登记次数: %s" % helpBattlePlayer.checkInCount)
- elif setType == 2:
- helpBattlePlayer.todayXianyuanCoin = gmList[1]
- GameWorld.DebugAnswer(curPlayer, "设置今日仙缘币: %s" % helpBattlePlayer.todayXianyuanCoin)
- elif len(gmList) == 3:
+ if len(gmList) == 3:
mapID, lineID, helpCount = gmList
helpBattlePlayer.todayHelpCountDict[(mapID, lineID)] = helpCount
GameWorld.DebugAnswer(curPlayer, "设置今日助战数: %s" % helpBattlePlayer.todayHelpCountDict)
--
Gitblit v1.8.0