From b1e6ff14aa3d6afb07510ab535a369c7527f4a8a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 27 十一月 2018 21:40:17 +0800 Subject: [PATCH] 4762 【后端】增加仙缘币为0时的原因同步; --- 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