From fcb20c084df8e7f61e01c5b9920875d669aa87ce Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 03 十二月 2018 16:00:12 +0800
Subject: [PATCH] 5186 【测试】【1.3.100起】减少战斗广播量
---
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