From 023ac4a624af7205b7c295f47f73091c218cbf8d Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期二, 27 十一月 2018 21:53:21 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode --- 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